	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mcompand_channel
_mcompand_channel:                      ## @mcompand_channel
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	testl	%r8d, %r8d
	jle	LBB0_17
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movslq	%r9d, %r13
	leaq	40(%rsi), %r14
	movl	%r8d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	mulsd	(%r15,%r12,8), %xmm0
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movsd	%xmm0, (%rax,%r12,8)
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	cmpq	%r12, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsd	(%r15,%r12,8), %xmm0            ## xmm0 = mem[0],zero
	callq	_fabs
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_update_volume
	movq	(%rbx), %rax
	movsd	(%rax,%r13,8), %xmm0            ## xmm0 = mem[0],zero
	movq	%r14, %rdi
	callq	_get_volume
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax,%r13,8), %rsi
	movq	8(%rbx), %rdi
	movq	16(%rbx), %rdx
	cmpq	%rdx, %rdi
	jl	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rax
	subq	%rdx, %rax
	addq	24(%rbx), %rax
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	mulsd	(%rsi,%rdx,8), %xmm0
	movsd	%xmm0, (%rsi,%rdx,8)
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rcx, %rdi
	jae	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	movq	%rdi, 8(%rbx)
	movq	24(%rbx), %rax
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rax
	movsd	(%rsi,%rax,8), %xmm0            ## xmm0 = mem[0],zero
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movsd	%xmm0, (%rdx,%r12,8)
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movsd	(%r15,%r12,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, (%rsi,%rax,8)
	incq	%rax
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdx, 24(%rbx)
	jmp	LBB0_16
LBB0_17:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mcompand_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mcompand_channel
_mcompand_channel:                      ; @mcompand_channel
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cmp	w4, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x19, x5
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	sxtw	x25, w19
	add	x24, x1, #40
	mov	w26, w4
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	d1, [x21]
	fmul	d0, d0, d1
	str	d0, [x20]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #8
	add	x21, x21, #8
	subs	x26, x26, #1
	b.eq	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x21]
	bl	_fabs
	mov	x1, x0
	mov	x0, x22
	mov	x2, x19
	bl	_update_volume
	ldr	x8, [x22]
	ldr	d0, [x8, x25, lsl #3]
	mov	x0, x24
	bl	_get_volume
	ldr	x8, [x23]
	cbz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x22, #32]
	ldr	x9, [x9]
	ldr	x9, [x9, x25, lsl #3]
	ldp	x10, x11, [x22, #8]
	cmp	x10, x11
	b.lt	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x22, #24]
	sub	x11, x8, x11
	add	x11, x11, x12
	udiv	x12, x11, x8
	msub	x11, x12, x8, x11
	lsl	x11, x11, #3
	ldr	d1, [x9, x11]
	fmul	d0, d0, d1
	str	d0, [x9, x11]
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x10, x8
	b.hs	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #1
	str	x10, [x22, #8]
	ldr	x10, [x22, #24]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x22, #24]
	ldr	d0, [x9, x10, lsl #3]
	str	d0, [x20]
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	d0, [x21]
	add	x11, x10, #1
	str	d0, [x9, x10, lsl #3]
	udiv	x9, x11, x8
	msub	x8, x9, x8, x11
	str	x8, [x22, #24]
	b	LBB0_3
LBB0_11:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mcompand_channel
.subsections_via_symbols
