	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function replay_volume_ramp
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	256                             ## 0x100
	.long	256                             ## 0x100
	.long	256                             ## 0x100
	.long	256                             ## 0x100
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_replay_volume_ramp:                    ## @replay_volume_ramp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movl	%edx, %r8d
	xorl	%ecx, %ecx
	movl	$524288, %eax                   ## imm = 0x80000
	xorl	%edx, %edx
	idivl	(%rdi)
	movl	%eax, %r10d
	movq	8(%rdi), %rdi
	cmpl	$257, %eax                      ## imm = 0x101
	movl	$256, %r11d                     ## imm = 0x100
	movl	$256, %eax                      ## imm = 0x100
	cmovgel	%r10d, %eax
	decl	%eax
	xorl	%edx, %edx
	divl	%r10d
	cmpl	$3, %eax
	jb	LBB0_1
## %bb.2:
	movl	%eax, %r9d
	cmpl	$257, %r10d                     ## imm = 0x101
	movl	$256, %eax                      ## imm = 0x100
	cmovgel	%r10d, %eax
	decl	%eax
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	divl	%r10d
                                        ## kill: def $eax killed $eax def $rax
	leaq	(%rdi,%rax,8), %rdx
	addq	$8, %rdx
	cmpq	%rsi, %rdx
	jbe	LBB0_5
## %bb.3:
	leaq	(%rsi,%rax,8), %rax
	addq	$8, %rax
	cmpq	%rax, %rdi
	jae	LBB0_5
LBB0_1:
	xorl	%eax, %eax
LBB0_8:
	leaq	4(,%rax,4), %rax
	subl	%ecx, %r11d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rsi,%rax), %edx
	imull	%ecx, %edx
	movl	-4(%rdi,%rax), %ebx
	imull	%r11d, %ebx
	addl	%edx, %ebx
	sarl	$8, %ebx
	movl	%ebx, -4(%rsi,%rax)
	movl	(%rsi,%rax), %edx
	imull	%ecx, %edx
	movl	(%rdi,%rax), %ebx
	imull	%r11d, %ebx
	addl	%edx, %ebx
	sarl	$8, %ebx
	movl	%ebx, (%rsi,%rax)
	addl	%r10d, %ecx
	addq	$8, %rax
	subl	%r10d, %r11d
	cmpl	$256, %ecx                      ## imm = 0x100
	jl	LBB0_9
LBB0_10:
	addl	%r8d, %r8d
	movslq	%r8d, %rax
	leaq	(%rsi,%rax,4), %rsi
	movl	$512, %edx                      ## imm = 0x200
	popq	%rbx
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_5:
	incq	%r9
	movq	%r9, %rdx
	andq	$-4, %rdx
	leaq	(%rdx,%rdx), %rax
	movl	%r10d, %ecx
	imull	%edx, %ecx
	movd	%r10d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [0,1,2,3]
	pmulld	%xmm0, %xmm1
	pslld	$2, %xmm0
	xorl	%ebx, %ebx
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [256,256,256,256]
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm8, %xmm3
	psubd	%xmm1, %xmm3
	movups	(%rsi,%rbx,8), %xmm4
	movups	16(%rsi,%rbx,8), %xmm5
	movaps	%xmm4, %xmm6
	shufps	$136, %xmm5, %xmm6              ## xmm6 = xmm6[0,2],xmm5[0,2]
	shufps	$221, %xmm5, %xmm4              ## xmm4 = xmm4[1,3],xmm5[1,3]
	pmulld	%xmm1, %xmm6
	movups	(%rdi,%rbx,8), %xmm2
	movups	16(%rdi,%rbx,8), %xmm7
	movaps	%xmm2, %xmm5
	shufps	$136, %xmm7, %xmm5              ## xmm5 = xmm5[0,2],xmm7[0,2]
	shufps	$221, %xmm7, %xmm2              ## xmm2 = xmm2[1,3],xmm7[1,3]
	pmulld	%xmm3, %xmm5
	paddd	%xmm6, %xmm5
	psrad	$8, %xmm5
	pmulld	%xmm1, %xmm4
	pmulld	%xmm3, %xmm2
	paddd	%xmm4, %xmm2
	psrad	$8, %xmm2
	movdqa	%xmm5, %xmm3
	punpckhdq	%xmm2, %xmm3            ## xmm3 = xmm3[2],xmm2[2],xmm3[3],xmm2[3]
	punpckldq	%xmm2, %xmm5            ## xmm5 = xmm5[0],xmm2[0],xmm5[1],xmm2[1]
	movdqu	%xmm5, (%rsi,%rbx,8)
	movdqu	%xmm3, 16(%rsi,%rbx,8)
	addq	$4, %rbx
	paddd	%xmm0, %xmm1
	cmpq	%rdx, %rbx
	jne	LBB0_6
## %bb.7:
	cmpq	%rdx, %r9
	je	LBB0_10
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_replay_volume_ramp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function replay_volume_ramp
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_replay_volume_ramp:                    ; @replay_volume_ramp
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	mov	w9, #524288
	sdiv	w8, w9, w8
	ldr	x0, [x0, #8]
	mov	w9, #256
	cmp	w8, #256
	csel	w10, w8, w9, gt
	sub	w10, w10, #1
	udiv	w10, w10, w8
	cmp	w10, #7
	b.lo	LBB0_5
; %bb.1:
	cmp	w8, #256
	csel	w11, w8, w9, gt
	sub	w11, w11, #1
	udiv	w11, w11, w8
	lsl	x11, x11, #3
	add	x11, x11, #8
	add	x12, x1, x11
	add	x11, x0, x11
	cmp	x11, x1
	ccmp	x0, x12, #2, hi
	b.lo	LBB0_5
; %bb.2:
	mov	x12, #0
	add	x13, x10, #1
	and	x14, x13, #0x1fffffff8
	lsl	x11, x14, #1
	mul	w10, w8, w14
	dup.4s	v0, w8
Lloh0:
	adrp	x15, lCPI0_0@PAGE
Lloh1:
	ldr	q1, [x15, lCPI0_0@PAGEOFF]
	mul.4s	v2, v0, v1
	lsl	w15, w8, #2
	dup.4s	v0, w15
	add	x15, x1, #32
	add	x16, x0, #32
	movi.4s	v1, #1, lsl #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	x17, x15, #32
	ld2.4s	{ v3, v4 }, [x17]
	add.4s	v5, v2, v0
	sub.4s	v6, v1, v2
	ld2.4s	{ v16, v17 }, [x15]
	sub.4s	v7, v1, v5
	sub	x3, x16, #32
	ld2.4s	{ v18, v19 }, [x3]
	mul.4s	v20, v3, v2
	mul.4s	v21, v16, v5
	ld2.4s	{ v22, v23 }, [x16]
	mla.4s	v20, v18, v6
	mla.4s	v21, v22, v7
	sshr.4s	v24, v20, #8
	mul.4s	v2, v4, v2
	mla.4s	v2, v19, v6
	sshr.4s	v25, v2, #8
	sshr.4s	v2, v21, #8
	mul.4s	v4, v17, v5
	st2.4s	{ v24, v25 }, [x17]
	mla.4s	v4, v23, v7
	sshr.4s	v3, v4, #8
	st2.4s	{ v2, v3 }, [x15]
	add	x12, x12, #8
	add.4s	v2, v5, v0
	add	x15, x15, #64
	add	x16, x16, #64
	cmp	x12, x14
	b.ne	LBB0_3
; %bb.4:
	cmp	x13, x14
	b.ne	LBB0_6
	b	LBB0_8
LBB0_5:
	mov	x11, #0
	mov	w10, #0
LBB0_6:
	lsl	x11, x11, #2
	add	x12, x11, #4
	add	x11, x0, x12
	add	x12, x1, x12
	sub	w9, w9, w10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w13, [x12, #-4]
	mul	w13, w13, w10
	ldur	w14, [x11, #-4]
	madd	w13, w14, w9, w13
	asr	w13, w13, #8
	stur	w13, [x12, #-4]
	ldr	w13, [x12]
	mul	w13, w13, w10
	ldr	w14, [x11], #8
	madd	w13, w14, w9, w13
	asr	w13, w13, #8
	add	w10, w10, w8
	str	w13, [x12], #8
	sub	w9, w9, w8
	cmp	w10, #256
	b.lt	LBB0_7
LBB0_8:
	lsl	w8, w2, #1
	add	x1, x1, w8, sxtw #2
	mov	w2, #512
	b	_memcpy
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_replay_volume_ramp
.subsections_via_symbols
