	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mixer_output
_mixer_output:                          ## @mixer_output
	.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
	movl	%ecx, %r15d
	movl	%esi, %r14d
	movl	%edi, %r12d
	movl	%edx, %eax
	imull	%esi, %eax
	cltq
	imulq	$1374389535, %rax, %r13         ## imm = 0x51EB851F
	movq	%r13, %rax
	shrq	$63, %rax
	sarq	$37, %r13
	addl	%eax, %r13d
	movl	%ecx, %ebx
	shll	$27, %ebx
	sarl	$31, %ebx
	andl	%r8d, %ebx
	orl	%ebx, %r13d
	leal	-3(%r15), %eax
	movl	$128, %edi
	cmpl	$2, %eax
	jae	LBB0_2
## %bb.1:
	movl	%r14d, %r12d
	jmp	LBB0_3
LBB0_2:
	imull	%r12d, %edx
	movslq	%edx, %rax
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	orl	%eax, %ebx
	movl	%r15d, %edi
	orl	$160, %edi
	movl	$1931, %esi                     ## imm = 0x78B
	callq	_mix_write
	movl	%r13d, %edi
	movl	$1931, %esi                     ## imm = 0x78B
	callq	_mix_write
	movl	$192, %edi
	movl	%ebx, %r13d
LBB0_3:
	orl	%r15d, %edi
	movl	$1931, %esi                     ## imm = 0x78B
	callq	_mix_write
	movl	%r13d, %edi
	movl	$1931, %esi                     ## imm = 0x78B
	callq	_mix_write
	shll	$8, %r12d
	orl	%r14d, %r12d
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mixer_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mixer_output
_mixer_output:                          ; @mixer_output
	.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
	mov	x21, x3
	mov	x19, x1
	mul	w9, w2, w1
	mov	w8, #34079
	movk	w8, #20971, lsl #16
	smull	x10, w9, w8
	lsl	w9, w3, #27
	and	w9, w4, w9, asr #31
	lsr	x11, x10, #63
	asr	x10, x10, #37
	add	w10, w10, w11
	orr	w22, w9, w10
	sub	w10, w3, #3
	cmp	w10, #2
	b.hs	LBB0_2
; %bb.1:
	mov	w8, #128
	mov	x20, x19
	b	LBB0_3
LBB0_2:
	mov	x20, x0
	mul	w10, w2, w0
	smull	x8, w10, w8
	lsr	x10, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w10
	orr	w23, w9, w8
	mov	w8, #160
	orr	w0, w21, w8
	mov	w1, #1931
	bl	_mix_write
	mov	x0, x22
	mov	w1, #1931
	bl	_mix_write
	mov	w8, #192
	mov	x22, x23
LBB0_3:
	orr	w0, w8, w21
	mov	w1, #1931
	bl	_mix_write
	mov	x0, x22
	mov	w1, #1931
	bl	_mix_write
	orr	w0, w19, w20, lsl #8
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mixer_output
.subsections_via_symbols
