	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function yae_reset
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
	.quad	0x3ff0000000000000              ## double 1
LCPI0_2:
	.quad	0x3fe0000000000000              ## double 0.5
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_3:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_4:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_5:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_yae_reset:                             ## @yae_reset
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	%esi, %edi
	callq	_av_get_bytes_per_sample
	movl	%ebx, (%r15)
	movl	%r12d, 4(%r15)
	imull	%r12d, %eax
	movl	%eax, 8(%r15)
	movslq	%r14d, %rax
	imulq	$715827883, %rax, %rdi          ## imm = 0x2AAAAAAB
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$34, %rdi
	addl	%eax, %edi
	movl	%edi, 12(%r15)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_av_log2
	movl	%eax, %r14d
	movl	$1, %ebx
	movl	%r14d, %ecx
	shll	%cl, %ebx
	xorl	%edi, %edi
	cmpl	12(%r15), %ebx
	setle	%dil
	callq	_av_assert0
	movl	12(%r15), %esi
	cmpl	%esi, %ebx
	jge	LBB0_2
## %bb.1:
	addl	%ebx, %ebx
	movl	%ebx, 12(%r15)
	incl	%r14d
	movl	%ebx, %esi
LBB0_2:
	movq	64(%r15), %rax
	movq	(%rax), %rdi
	imull	8(%r15), %esi
	callq	_RE_MALLOC_OR_FAIL
	movq	64(%r15), %rax
	movq	16(%rax), %rdi
	movl	8(%r15), %esi
	imull	12(%r15), %esi
	callq	_RE_MALLOC_OR_FAIL
	movq	64(%r15), %rax
	movq	8(%rax), %rdi
	movl	12(%r15), %esi
	shll	$2, %esi
	callq	_RE_MALLOC_OR_FAIL
	movq	64(%r15), %rax
	movq	24(%rax), %rdi
	movl	12(%r15), %esi
	shll	$2, %esi
	callq	_RE_MALLOC_OR_FAIL
	movq	56(%r15), %rdi
	callq	_av_rdft_end
	movq	$0, 56(%r15)
	movq	48(%r15), %rdi
	callq	_av_rdft_end
	movq	$0, 48(%r15)
	incl	%r14d
	movq	_DFT_R2C@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_av_rdft_init
	movq	%rax, 56(%r15)
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	movq	_IDFT_C2R@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_av_rdft_init
	movq	%rax, 48(%r15)
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	movq	16(%r15), %rdi
	movl	12(%r15), %esi
	shll	$2, %esi
	callq	_RE_MALLOC_OR_FAIL
	movl	12(%r15), %eax
	leal	(%rax,%rax,2), %esi
	movl	%esi, 24(%r15)
	movq	32(%r15), %rdi
	imull	8(%r15), %esi
	callq	_RE_MALLOC_OR_FAIL
	movq	40(%r15), %rdi
	movl	12(%r15), %esi
	shll	$2, %esi
	callq	_RE_MALLOC_OR_FAIL
	movl	12(%r15), %r14d
	testl	%r14d, %r14d
	jle	LBB0_11
## %bb.5:
	leal	-1(%r14), %eax
	cvtsi2sd	%eax, %xmm1
	movq	_M_PI@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm2                   ## xmm2 = mem[0],zero
	addsd	%xmm2, %xmm2
	movq	40(%r15), %r12
	cmpl	$4, %r14d
	movapd	%xmm1, -128(%rbp)               ## 16-byte Spill
	movapd	%xmm2, -112(%rbp)               ## 16-byte Spill
	jae	LBB0_7
## %bb.6:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_12:
	movq	%r15, %rdi
	callq	_yae_release_buffers
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_7:
	movl	%r14d, %ebx
	andl	$-4, %ebx
	movddup	%xmm1, %xmm0                    ## xmm0 = xmm1[0,0]
	movapd	%xmm0, -192(%rbp)               ## 16-byte Spill
	movddup	%xmm2, %xmm0                    ## xmm0 = xmm2[0,0]
	movapd	%xmm0, -176(%rbp)               ## 16-byte Spill
	leaq	(,%r14,4), %rax
	andq	$-16, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, -160(%rbp)               ## 16-byte Spill
	cvtdq2pd	%xmm0, %xmm1
	pshufd	$238, -160(%rbp), %xmm0         ## 16-byte Folded Reload
                                        ## xmm0 = mem[2,3,2,3]
	cvtdq2pd	%xmm0, %xmm0
	movapd	-192(%rbp), %xmm2               ## 16-byte Reload
	divpd	%xmm2, %xmm0
	divpd	%xmm2, %xmm1
	movapd	-176(%rbp), %xmm2               ## 16-byte Reload
	mulpd	%xmm2, %xmm1
	movapd	%xmm1, -144(%rbp)               ## 16-byte Spill
	mulpd	%xmm2, %xmm0
	movapd	%xmm0, -64(%rbp)                ## 16-byte Spill
	callq	_cos
	movapd	%xmm0, -80(%rbp)                ## 16-byte Spill
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
	movhlps	%xmm0, %xmm0                    ## xmm0 = xmm0[1,1]
	callq	_cos
	movaps	-80(%rbp), %xmm1                ## 16-byte Reload
	movlhps	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	movaps	%xmm1, -80(%rbp)                ## 16-byte Spill
	movaps	-144(%rbp), %xmm0               ## 16-byte Reload
	callq	_cos
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
	movapd	-144(%rbp), %xmm0               ## 16-byte Reload
	unpckhpd	%xmm0, %xmm0                    ## xmm0 = xmm0[1,1]
	callq	_cos
	movapd	-64(%rbp), %xmm2                ## 16-byte Reload
	unpcklpd	%xmm0, %xmm2                    ## xmm2 = xmm2[0],xmm0[0]
	movapd	LCPI0_1(%rip), %xmm1            ## xmm1 = [1.0E+0,1.0E+0]
	movapd	%xmm1, %xmm0
	subpd	%xmm2, %xmm0
	subpd	-80(%rbp), %xmm1                ## 16-byte Folded Reload
	movapd	LCPI0_2(%rip), %xmm2            ## xmm2 = [5.0E-1,5.0E-1]
	mulpd	%xmm2, %xmm0
	cvtpd2ps	%xmm0, %xmm0
	mulpd	%xmm2, %xmm1
	cvtpd2ps	%xmm1, %xmm1
	unpcklpd	%xmm1, %xmm0                    ## xmm0 = xmm0[0],xmm1[0]
	movupd	%xmm0, (%r12,%r13)
	movdqa	-160(%rbp), %xmm0               ## 16-byte Reload
	paddd	LCPI0_3(%rip), %xmm0
	addq	$16, %r13
	cmpq	%r13, -88(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_8
## %bb.9:
	cmpq	%r14, %rbx
	movapd	-128(%rbp), %xmm1               ## 16-byte Reload
	movapd	-112(%rbp), %xmm2               ## 16-byte Reload
	je	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	divsd	%xmm1, %xmm0
	mulsd	%xmm2, %xmm0
	callq	_cos
	movapd	-112(%rbp), %xmm2               ## 16-byte Reload
	movsd	LCPI0_4(%rip), %xmm1            ## xmm1 = mem[0],zero
	subsd	%xmm0, %xmm1
	mulsd	LCPI0_5(%rip), %xmm1
	xorps	%xmm0, %xmm0
	cvtsd2ss	%xmm1, %xmm0
	movapd	-128(%rbp), %xmm1               ## 16-byte Reload
	movss	%xmm0, (%r12,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_10
LBB0_11:
	movq	%r15, %rdi
	callq	_yae_clear
	xorl	%eax, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DFT_R2C,4,2                    ## @DFT_R2C
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IDFT_C2R,4,2                   ## @IDFT_C2R
	.comm	_M_PI,8,3                       ## @M_PI
	.no_dead_strip	_yae_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function yae_reset
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_yae_reset:                             ; @yae_reset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	d9, d8, [sp, #112]              ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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 b8, -72
	.cfi_offset b9, -80
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	x0, x1
	bl	_av_get_bytes_per_sample
	stp	w22, w20, [x19]
	mul	w8, w0, w20
	mov	w9, #43691
	movk	w9, #10922, lsl #16
	smull	x9, w21, w9
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w0, w9, w10
	stp	w8, w0, [x19, #8]
	bl	_av_log2
	mov	x20, x0
	mov	w8, #1
	lsl	w21, w8, w0
	ldr	w8, [x19, #12]
	cmp	w21, w8
	cset	w0, le
	bl	_av_assert0
	ldr	w8, [x19, #12]
	cmp	w21, w8
	b.ge	LBB0_2
; %bb.1:
	lsl	w8, w21, #1
	str	w8, [x19, #12]
	add	w20, w20, #1
LBB0_2:
	ldr	x9, [x19, #64]
	ldr	x0, [x9]
	ldr	w9, [x19, #8]
	mul	w1, w9, w8
	bl	_RE_MALLOC_OR_FAIL
	ldr	x8, [x19, #64]
	ldr	x0, [x8, #16]
	ldp	w9, w8, [x19, #8]
	mul	w1, w9, w8
	bl	_RE_MALLOC_OR_FAIL
	ldr	x8, [x19, #64]
	ldr	x0, [x8, #8]
	ldr	w8, [x19, #12]
	lsl	w1, w8, #2
	bl	_RE_MALLOC_OR_FAIL
	ldr	x8, [x19, #64]
	ldr	x0, [x8, #24]
	ldr	w8, [x19, #12]
	lsl	w1, w8, #2
	bl	_RE_MALLOC_OR_FAIL
	ldr	x0, [x19, #56]
	bl	_av_rdft_end
	str	xzr, [x19, #56]
	ldr	x0, [x19, #48]
	bl	_av_rdft_end
	str	xzr, [x19, #48]
	add	w20, w20, #1
Lloh0:
	adrp	x8, _DFT_R2C@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DFT_R2C@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_av_rdft_init
	str	x0, [x19, #56]
	cbz	x0, LBB0_7
; %bb.3:
Lloh3:
	adrp	x8, _IDFT_C2R@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IDFT_C2R@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_av_rdft_init
	str	x0, [x19, #48]
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x0, [x19, #16]
	ldr	w8, [x19, #12]
	lsl	w1, w8, #2
	bl	_RE_MALLOC_OR_FAIL
	ldp	w9, w8, [x19, #8]
	add	w8, w8, w8, lsl #1
	str	w8, [x19, #24]
	ldr	x0, [x19, #32]
	mul	w1, w9, w8
	bl	_RE_MALLOC_OR_FAIL
	ldr	x0, [x19, #40]
	ldr	w8, [x19, #12]
	lsl	w1, w8, #2
	bl	_RE_MALLOC_OR_FAIL
	ldr	w20, [x19, #12]
	cmp	w20, #1
	b.lt	LBB0_13
; %bb.5:
Lloh6:
	adrp	x8, _M_PI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M_PI@GOTPAGEOFF]
Lloh8:
	ldr	d0, [x8]
	fadd	d1, d0, d0
	ldr	x21, [x19, #40]
	subs	w8, w20, #1
	scvtf	d2, w8
	stur	q1, [x29, #-80]                 ; 16-byte Folded Spill
	str	q2, [sp, #48]                   ; 16-byte Folded Spill
	b.ne	LBB0_8
; %bb.6:
	mov	x22, #0
	b	LBB0_11
LBB0_7:
	mov	x0, x19
	bl	_yae_release_buffers
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #112]              ; 16-byte Folded Reload
	add	sp, sp, #192
	b	_AVERROR
LBB0_8:
	and	x22, x20, #0xfffffffe
	dup.2d	v0, v2[0]
	str	q0, [sp, #32]                   ; 16-byte Folded Spill
Lloh12:
	adrp	x8, lCPI0_0@PAGE
Lloh13:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
	fmov.2d	v2, #1.00000000
	fmov.2d	v0, #0.50000000
	stp	q0, q2, [sp]                    ; 32-byte Folded Spill
	movi.2s	v9, #2
	mov	x23, x22
	mov	x24, x21
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sshll.2d	v0, v8, #0
	scvtf.2d	v0, v0
	ldr	q2, [sp, #32]                   ; 16-byte Folded Reload
	fdiv.2d	v0, v0, v2
	fmul.2d	v0, v0, v1[0]
	str	q0, [sp, #64]                   ; 16-byte Folded Spill
	mov	d0, v0[1]
	bl	_cos
	str	q0, [sp, #80]                   ; 16-byte Folded Spill
	ldr	q0, [sp, #64]                   ; 16-byte Folded Reload
                                        ; kill: def $d0 killed $d0 killed $q0
	bl	_cos
	ldur	q1, [x29, #-80]                 ; 16-byte Folded Reload
                                        ; kill: def $d0 killed $d0 def $q0
	ldr	q2, [sp, #80]                   ; 16-byte Folded Reload
	mov.d	v0[1], v2[0]
	ldr	q2, [sp, #16]                   ; 16-byte Folded Reload
	fsub.2d	v0, v2, v0
	ldr	q2, [sp]                        ; 16-byte Folded Reload
	fmul.2d	v0, v0, v2
	fcvtn	v0.2s, v0.2d
	str	d0, [x24], #8
	add.2s	v8, v8, v9
	subs	x23, x23, #2
	b.ne	LBB0_9
; %bb.10:
	cmp	x22, x20
	ldr	q2, [sp, #48]                   ; 16-byte Folded Reload
	b.eq	LBB0_13
LBB0_11:
	fmov	d8, #1.00000000
	fmov	d9, #0.50000000
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	scvtf	d0, w22
	fdiv	d0, d0, d2
	fmul	d0, d0, d1
	bl	_cos
	ldr	q2, [sp, #48]                   ; 16-byte Folded Reload
	ldur	q1, [x29, #-80]                 ; 16-byte Folded Reload
	fsub	d0, d8, d0
	fmul	d0, d0, d9
	fcvt	s0, d0
	str	s0, [x21, x22, lsl #2]
	add	x22, x22, #1
	cmp	x20, x22
	b.ne	LBB0_12
LBB0_13:
	mov	x0, x19
	bl	_yae_clear
	mov	w0, #0
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #112]              ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdr	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_DFT_R2C,4,2                    ; @DFT_R2C
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IDFT_C2R,4,2                   ; @IDFT_C2R
	.comm	_M_PI,8,3                       ; @M_PI
	.no_dead_strip	_yae_reset
.subsections_via_symbols
