	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function revmodel_update
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
LCPI0_1:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_revmodel_update:                       ## @revmodel_update
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	8(%rdi), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	addss	%xmm0, %xmm1
	mulss	4(%rdi), %xmm1
	movss	%xmm1, (%rdi)
	movq	16(%rdi), %rax
	movq	_freezemode@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_1
## %bb.2:
	movss	32(%rdi), %xmm1                 ## xmm1 = mem[0],zero,zero,zero
	movss	36(%rdi), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movq	_fixedgain@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_muted@GOTPCREL(%rip), %rax
	xorps	%xmm0, %xmm0
	movss	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
LBB0_3:
	movl	(%rax), %eax
	movss	%xmm1, 24(%rdi)
	movss	%xmm0, 28(%rdi)
	movl	%eax, 48(%rdi)
	movq	_numcombs@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.4:
	movq	40(%rdi), %rcx
	movss	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm2
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.5:
	xorl	%edx, %edx
	jmp	LBB0_8
LBB0_6:
	movl	%eax, %esi
	andl	$-2, %esi
	leaq	20(%rcx), %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movss	%xmm1, -20(%rdi)
	movss	%xmm0, -16(%rdi)
	movss	%xmm2, -12(%rdi)
	movss	%xmm1, -8(%rdi)
	movss	%xmm0, -4(%rdi)
	movss	%xmm2, (%rdi)
	addq	$2, %rdx
	addq	$24, %rdi
	cmpq	%rdx, %rsi
	jne	LBB0_7
LBB0_8:
	testb	$1, %al
	je	LBB0_10
## %bb.9:
	leaq	(%rdx,%rdx,2), %rax
	movss	%xmm1, (%rcx,%rax,4)
	movss	%xmm0, 4(%rcx,%rax,4)
	movss	%xmm2, 8(%rcx,%rax,4)
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_freezemode,8,3                 ## @freezemode
	.comm	_muted,4,2                      ## @muted
	.comm	_fixedgain,4,2                  ## @fixedgain
	.comm	_numcombs,4,2                   ## @numcombs
	.no_dead_strip	_revmodel_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function revmodel_update
_revmodel_update:                       ; @revmodel_update
	.cfi_startproc
; %bb.0:
	ldp	s0, s1, [x0, #4]
	fmov	s2, #0.50000000
	fmul	s1, s1, s2
	fadd	s1, s1, s2
	fmul	s0, s0, s1
	str	s0, [x0]
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x9, _freezemode@GOTPAGE
Lloh1:
	ldr	x9, [x9, _freezemode@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	ldp	s0, s1, [x0, #32]
Lloh3:
	adrp	x8, _fixedgain@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fixedgain@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _muted@GOTPAGE
Lloh6:
	ldr	x8, [x8, _muted@GOTPAGEOFF]
	movi	d1, #0000000000000000
	fmov	s0, #1.00000000
LBB0_3:
	ldr	w8, [x8]
	stp	s0, s1, [x0, #24]
	str	w8, [x0, #48]
Lloh7:
	adrp	x8, _numcombs@GOTPAGE
Lloh8:
	ldr	x8, [x8, _numcombs@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.4:
	ldr	x9, [x0, #40]
	fmov	s2, #1.00000000
	fsub	s2, s2, s1
	cmp	w8, #16
	b.hs	LBB0_6
; %bb.5:
	mov	x10, #0
	b	LBB0_9
LBB0_6:
	and	x10, x8, #0xfffffff0
	dup.4s	v3, v0[0]
	dup.4s	v4, v1[0]
	dup.4s	v5, v2[0]
	add	x12, x9, #96
	mov	x11, x10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sub	x13, x12, #96
	sub	x14, x12, #48
	st3.4s	{ v3, v4, v5 }, [x13]
	st3.4s	{ v3, v4, v5 }, [x14]
	add	x13, x12, #192
	st3.4s	{ v3, v4, v5 }, [x12], #48
	st3.4s	{ v3, v4, v5 }, [x12]
	mov	x12, x13
	subs	x11, x11, #16
	b.ne	LBB0_7
; %bb.8:
	cmp	x10, x8
	b.eq	LBB0_11
LBB0_9:
	mov	w11, #12
	madd	x9, x10, x11, x9
	add	x9, x9, #8
	sub	x8, x8, x10
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	stp	s0, s1, [x9, #-8]
	str	s2, [x9], #12
	subs	x8, x8, #1
	b.ne	LBB0_10
LBB0_11:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_freezemode,8,3                 ; @freezemode
	.comm	_muted,4,2                      ; @muted
	.comm	_fixedgain,4,2                  ; @fixedgain
	.comm	_numcombs,4,2                   ; @numcombs
	.no_dead_strip	_revmodel_update
.subsections_via_symbols
