	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adpcm_sbpro_expand_nibble
_adpcm_sbpro_expand_nibble:             ## @adpcm_sbpro_expand_nibble
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %eax
	movl	%edx, %r14d
	movq	%rdi, %r15
	leal	-1(%r14), %edx
	movl	$1, %r12d
	movl	%edx, %ecx
	shll	%cl, %r12d
	decl	%r12d
	andl	%esi, %r12d
	addl	(%rdi), %eax
	addb	$7, %al
	movl	%r12d, %ebx
	movl	%eax, %ecx
	shll	%cl, %ebx
	movzbl	%dl, %eax
	movl	%ebx, %edi
	negl	%edi
	btl	%eax, %esi
	cmovael	%ebx, %edi
	addl	4(%r15), %edi
	movl	$-16384, %esi                   ## imm = 0xC000
	movl	$16256, %edx                    ## imm = 0x3F80
	callq	_av_clip
	movl	%eax, 4(%r15)
	leal	(%r14,%r14), %ecx
	addl	$-3, %ecx
	cmpl	%ecx, %r12d
	jl	LBB0_3
## %bb.1:
	movl	(%r15), %ecx
	cmpl	$2, %ecx
	jg	LBB0_3
## %bb.2:
	incl	%ecx
	jmp	LBB0_6
LBB0_3:
	testl	%r12d, %r12d
	jne	LBB0_7
## %bb.4:
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.5:
	decl	%ecx
LBB0_6:
	movl	%ecx, (%r15)
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_adpcm_sbpro_expand_nibble
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adpcm_sbpro_expand_nibble
_adpcm_sbpro_expand_nibble:             ; @adpcm_sbpro_expand_nibble
	.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	x20, x2
	mov	x19, x0
	sub	w8, w2, #1
	mov	w9, #1
	lsl	w8, w9, w8
	ldp	w9, w10, [x0]
	add	w9, w3, w9
	sub	w11, w8, #1
	and	w21, w11, w1
	add	w9, w9, #7
	lsl	w9, w21, w9
	tst	w8, w1
	cneg	w8, w9, ne
	add	w0, w8, w10
	mov	w1, #-16384
	mov	w2, #16256
	bl	_av_clip
	str	w0, [x19, #4]
	lsl	w8, w20, #1
	sub	w8, w8, #3
	cmp	w21, w8
	b.lt	LBB0_3
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #2
	b.gt	LBB0_3
; %bb.2:
	add	w8, w8, #1
	b	LBB0_5
LBB0_3:
	cbnz	w21, LBB0_6
; %bb.4:
	ldr	w8, [x19]
	subs	w8, w8, #1
	b.lt	LBB0_6
LBB0_5:
	str	w8, [x19]
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_adpcm_sbpro_expand_nibble
.subsections_via_symbols
