	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sbc_decode_frame
_sbc_decode_frame:                      ## @sbc_decode_frame
	.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	8(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r13
	movl	(%rcx), %edx
	movl	4(%rcx), %edi
	movq	%rbx, %rsi
	callq	_sbc_unpack_frame
	movl	%eax, %r12d
	testl	%eax, %eax
	jle	LBB0_5
## %bb.2:
	movl	8(%rbx), %eax
	movl	%eax, 8(%r15)
	movl	%eax, (%r13)
	movq	_AV_SAMPLE_FMT_S16P@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movl	4(%rbx), %eax
	imull	(%rbx), %eax
	movl	%eax, (%r15)
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	leaq	12(%rbx), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_sbc_synthesize_audio
	movl	$1, (%r14)
	jmp	LBB0_5
LBB0_6:
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_3:
	movl	%eax, %r12d
LBB0_5:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_AV_SAMPLE_FMT_S16P,4,2         ## @AV_SAMPLE_FMT_S16P
	.no_dead_strip	_sbc_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sbc_decode_frame
_sbc_decode_frame:                      ; @sbc_decode_frame
	.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
	ldr	x22, [x0, #8]
	cbz	x22, LBB0_4
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x23, x0
	ldp	w2, w0, [x3]
	mov	x1, x22
	bl	_sbc_unpack_frame
	mov	x21, x0
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.2:
	ldr	w8, [x22, #8]
	str	w8, [x20, #8]
	str	w8, [x23]
Lloh0:
	adrp	x8, _AV_SAMPLE_FMT_S16P@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_SAMPLE_FMT_S16P@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w10, [x22]
	mul	w9, w10, w9
	stp	w9, w8, [x20]
	mov	x0, x23
	mov	x1, x20
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_5
; %bb.3:
	add	x0, x22, #12
	mov	x1, x22
	mov	x2, x20
	bl	_sbc_synthesize_audio
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_6
LBB0_4:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	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
	b	_AVERROR
LBB0_5:
	mov	x21, x0
LBB0_6:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_AV_SAMPLE_FMT_S16P,4,2         ; @AV_SAMPLE_FMT_S16P
	.no_dead_strip	_sbc_decode_frame
.subsections_via_symbols
