	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function channel_auto_vibrato
_channel_auto_vibrato:                  ## @channel_auto_vibrato
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rax
	movl	(%rax), %ebx
	andl	$127, %ebx
	je	LBB0_4
## %bb.1:
	movq	%rdi, %r14
	movl	4(%rax), %ecx
	movl	8(%rax), %edi
	andl	$127, %ecx
	andl	$127, %edi
	movl	12(%rax), %r8d
	movl	(%r14), %esi
	cmpl	%ecx, %esi
	jge	LBB0_3
## %bb.2:
	imull	%esi, %ebx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %ebx
LBB0_3:
	imull	%edi, %esi
	sarl	$2, %esi
	addl	$4, %r8d
	movq	%r14, %rdi
	movl	%r8d, %edx
	callq	_channel_waveform
	imull	%ebx, %eax
	sarl	$8, %eax
	addl	%eax, 4(%r14)
	incl	(%r14)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_channel_auto_vibrato
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function channel_auto_vibrato
_channel_auto_vibrato:                  ; @channel_auto_vibrato
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #8]
	ldr	w9, [x8]
	ands	w20, w9, #0x7f
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x0
	ldp	w9, w10, [x8, #4]
	and	w11, w9, #0x7f
	and	w9, w10, #0x7f
	ldr	w8, [x8, #12]
	ldr	w10, [x0]
	cmp	w10, w11
	b.ge	LBB0_3
; %bb.2:
	mul	w12, w10, w20
	sdiv	w20, w12, w11
LBB0_3:
	mul	w9, w10, w9
	asr	w1, w9, #2
	add	w2, w8, #4
	mov	x0, x19
	bl	_channel_waveform
	mul	w8, w0, w20
	ldp	w10, w9, [x19]
	add	w8, w9, w8, asr #8
	add	w9, w10, #1
	stp	w9, w8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_channel_auto_vibrato
.subsections_via_symbols
