	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blip_mix_samples               ## -- Begin function blip_mix_samples
	.p2align	4, 0x90
_blip_mix_samples:                      ## @blip_mix_samples
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	callq	_SAMPLES
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movslq	%r14d, %rax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	4(%rbx), %ebx
	shlq	$2, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	_delta_bits@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movl	%ebx, %edi
	callq	_ARITH_SHIFT
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addl	(%rcx,%r12), %ebx
	movl	(%r15), %ecx
	movq	_bass_shift@GOTPCREL(%rip), %rdx
	subl	(%rdx), %ecx
	movswl	(%r13,%r12), %r14d
	addl	%eax, %r14d
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	subl	%eax, %ebx
	movl	%r14d, %edi
	callq	_CLAMP
	movw	%r14w, (%r13,%r12)
	addq	$4, %r12
	cmpq	%r12, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_1
## %bb.2:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, 4(%rdi)
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_remove_samples
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_delta_bits,4,2                 ## @delta_bits
	.comm	_bass_shift,4,2                 ## @bass_shift
	.comm	_time_bits,4,2                  ## @time_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blip_mix_samples               ; -- Begin function blip_mix_samples
	.p2align	2
_blip_mix_samples:                      ; @blip_mix_samples
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_SAMPLES
	mov	x22, x0
	ldr	w23, [x20, #4]
	sbfiz	x25, x19, #2, #32
Lloh0:
	adrp	x26, _delta_bits@GOTPAGE
Lloh1:
	ldr	x26, [x26, _delta_bits@GOTPAGEOFF]
Lloh2:
	adrp	x27, _bass_shift@GOTPAGE
Lloh3:
	ldr	x27, [x27, _bass_shift@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26]
	mov	x0, x23
	bl	_ARITH_SHIFT
	ldr	w8, [x22], #4
	ldr	w9, [x26]
	ldr	w10, [x27]
	sub	w9, w9, w10
	lsl	w9, w0, w9
	add	w8, w8, w23
	sub	w23, w8, w9
	ldrsh	w8, [x21]
	add	w24, w0, w8
	mov	x0, x24
	bl	_CLAMP
	strh	w24, [x21], #4
	subs	x25, x25, #4
	b.ne	LBB0_1
; %bb.2:
	str	w23, [x20, #4]
	mov	x0, x20
	mov	x1, x19
	bl	_remove_samples
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_delta_bits,4,2                 ; @delta_bits
	.comm	_bass_shift,4,2                 ; @bass_shift
	.comm	_time_bits,4,2                  ; @time_bits
.subsections_via_symbols
