	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wavesynth_parse_extradata
_wavesynth_parse_extradata:             ## @wavesynth_parse_extradata
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %ebx
	movq	_EINVAL@GOTPCREL(%rip), %r12
	cmpl	$4, %ebx
	jl	LBB0_33
## %bb.1:
	movq	%rdi, %r15
	movq	24(%rdi), %r13
	movq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_AV_RL32
	movl	%eax, (%r13)
	testl	%eax, %eax
	js	LBB0_33
## %bb.2:
	leal	-4(%rbx), %ecx
	movl	$2863311531, %edx               ## imm = 0xAAAAAAAB
	imulq	%rcx, %rdx
	shrq	$36, %rdx
	movslq	%eax, %rcx
	cmpq	%rdx, %rcx
	jg	LBB0_33
## %bb.3:
	movl	%eax, %edi
	movl	$72, %esi
	callq	_av_calloc
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_30
## %bb.4:
	movq	%rax, %rcx
	leaq	(%r14,%rbx,4), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	addq	$16, %r14
	cmpl	$0, (%r13)
	jle	LBB0_32
## %bb.5:
	cmpl	$28, %ebx
	jb	LBB0_33
## %bb.6:
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movabsq	$-9223372036854775808, %r12     ## imm = 0x8000000000000000
	movl	$1, %edx
	xorl	%r13d, %r13d
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rcx, %rbx
	callq	_AV_RL64
	movq	%rax, (%rbx,%r13)
	leaq	32(%r14), %rdi
	callq	_AV_RL64
	movq	%rax, 8(%rbx,%r13)
	leaq	64(%r14), %rdi
	callq	_AV_RL32
	movl	%eax, 16(%rbx,%r13)
	leaq	80(%r14), %rdi
	callq	_AV_RL32
	movq	%rax, 64(%rbx,%r13)
	movq	(%rbx,%r13), %rdx
	cmpq	%r12, %rdx
	jl	LBB0_29
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rcx
	movq	8(%rbx,%r13), %r12
	subq	%rdx, %r12
	jle	LBB0_29
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_INT64_MAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jg	LBB0_29
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	96(%r14), %rdi
	movl	16(%rcx,%r13), %eax
	cmpl	$129, %eax
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$128, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jne	LBB0_29
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rcx, %rax
	subq	%rdi, %rax
	cmpq	$80, %rax
	jl	LBB0_29
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, 8(%r15)
	jle	LBB0_29
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	callq	_AV_RL32
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	112(%r14), %rdi
	callq	_AV_RL32
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	128(%r14), %rdi
	callq	_AV_RL32
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	144(%r14), %rdi
	callq	_AV_RL32
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	160(%r14), %rdi
	callq	_AV_RL32
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	8(%r15), %rsi
	shlq	$16, %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_frac64
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rsi
	shlq	$16, %rsi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_frac64
	movq	%rbx, %rsi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 56(%rbx,%r13)
	subq	%rcx, %rax
	movq	%rax, %rcx
	orq	%r12, %rcx
	shrq	$32, %rcx
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	cqto
	idivq	%r12
	jmp	LBB0_19
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subq	%rdi, %rax
	cmpq	$32, %rax
	jl	LBB0_29
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	callq	_AV_RL32
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	112(%r14), %rdi
	callq	_AV_RL32
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rsi
	subq	$-128, %r14
	jmp	LBB0_24
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%r12d
                                        ## kill: def $eax killed $eax def $rax
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$176, %r14
	movq	%rax, 48(%rsi,%r13)
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	testl	$-2147483648, %ecx              ## imm = 0x80000000
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_7 Depth=1
	shlq	$33, %rcx
	movq	%rcx, 40(%rsi,%r13)
	jmp	LBB0_23
LBB0_21:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	decq	%rax
	andl	$2147483647, %ecx               ## imm = 0x7FFFFFFF
	cmpq	%rax, %rcx
	jae	LBB0_29
## %bb.22:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%rcx,%rcx,8), %rdi
	shlq	$3, %rdi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addq	8(%rax), %rdi
	movq	(%rbx,%r13), %rsi
	callq	_phi_at
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%rax, 40(%rbx,%r13)
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
LBB0_24:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rdx, %rcx
	shlq	$32, %rcx
	movq	%rcx, 32(%rsi,%r13)
	subl	%edx, %eax
	shlq	$32, %rax
	movq	%rax, %rcx
	orq	%r12, %rcx
	shrq	$32, %rcx
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_7 Depth=1
	cqto
	idivq	%r12
	jmp	LBB0_27
LBB0_26:                                ##   in Loop: Header=BB0_7 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%r12d
                                        ## kill: def $eax killed $eax def $rax
LBB0_27:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, 24(%rsi,%r13)
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movslq	(%rcx), %rax
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rax, %rdx
	jge	LBB0_31
## %bb.28:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%rcx), %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subq	%r14, %rax
	incq	%rdx
	addq	$72, %r13
	cmpq	$96, %rax
	movq	-112(%rbp), %r12                ## 8-byte Reload
	jge	LBB0_7
LBB0_29:
	movq	_EINVAL@GOTPCREL(%rip), %r12
	jmp	LBB0_33
LBB0_30:
	movq	_ENOMEM@GOTPCREL(%rip), %r12
	jmp	LBB0_33
LBB0_31:
	movq	_EINVAL@GOTPCREL(%rip), %r12
LBB0_32:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, %r14
	je	LBB0_34
LBB0_33:
	movl	(%r12), %edi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_34:
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_INT64_MAX,8,3                  ## @INT64_MAX
	.no_dead_strip	_wavesynth_parse_extradata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wavesynth_parse_extradata
_wavesynth_parse_extradata:             ; @wavesynth_parse_extradata
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w22, [x0]
	cmp	w22, #4
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x0
	ldp	x20, x28, [x0, #16]
	mov	x0, x20
	bl	_AV_RL32
	str	w0, [x28]
	tbnz	w0, #31, LBB0_3
; %bb.2:
	sub	w8, w22, #4
	mov	w9, #43691
	movk	w9, #43690, lsl #16
	umull	x8, w8, w9
	sxtw	x9, w0
	cmp	x9, x8, lsr #36
	b.le	LBB0_5
LBB0_3:
Lloh0:
	adrp	x27, _EINVAL@GOTPAGE
Lloh1:
	ldr	x27, [x27, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x27]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_AVERROR
LBB0_5:
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #72
	bl	_av_calloc
	str	x0, [x28, #8]
	cbz	x0, LBB0_25
; %bb.6:
	add	x8, x20, x22, lsl #2
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	add	x20, x20, #16
	ldr	w8, [x28]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.7:
	cmp	w22, #28
	b.lo	LBB0_3
; %bb.8:
	mov	x21, x0
	mov	x26, #0
	mov	x24, #-9223372036854775808
	mov	w23, #1
Lloh2:
	adrp	x27, _EINVAL@GOTPAGE
Lloh3:
	ldr	x27, [x27, _EINVAL@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_AV_RL64
	add	x25, x21, x26
	str	x0, [x25]
	add	x0, x20, #32
	bl	_AV_RL64
	str	x0, [x25, #8]
	add	x0, x20, #64
	bl	_AV_RL32
	str	w0, [x25, #16]
	add	x0, x20, #80
	bl	_AV_RL32
	str	x0, [x25, #64]
	ldr	x22, [x25]
	cmp	x22, x24
	b.lt	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x25, #8]
	subs	x24, x8, x22
	b.le	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh4:
	adrp	x8, _INT64_MAX@GOTPAGE
Lloh5:
	ldr	x8, [x8, _INT64_MAX@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x24, x8
	b.gt	LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x0, x20, #96
	ldr	w8, [x25, #16]
	cmp	w8, #129
	b.eq	LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	sub	x8, x8, x0
	cmp	x8, #80
	b.lt	LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x19, #8]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	bl	_AV_RL32
	mov	x25, x0
	add	x0, x20, #112
	bl	_AV_RL32
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	add	x0, x20, #128
	bl	_AV_RL32
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	add	x0, x20, #144
	bl	_AV_RL32
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	add	x0, x20, #160
	bl	_AV_RL32
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	add	x20, x20, #176
	ldr	x8, [x19, #8]
	lsl	x1, x8, #16
	mov	x0, x25
	bl	_frac64
	mov	x25, x0
	ldr	x8, [x19, #8]
	lsl	x1, x8, #16
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	bl	_frac64
	add	x8, x21, x26
	sub	x9, x0, x25
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	sdiv	x9, x9, x24
	stp	x9, x25, [x8, #48]
	tbnz	w10, #31, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=1
	lsl	x9, x10, #33
	str	x9, [x8, #40]
	b	LBB0_22
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	sub	x8, x8, x0
	cmp	x8, #32
	b.lt	LBB0_4
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=1
	bl	_AV_RL32
	mov	x25, x0
	add	x0, x20, #112
	bl	_AV_RL32
	add	x20, x20, #128
	b	LBB0_23
LBB0_20:                                ;   in Loop: Header=BB0_9 Depth=1
	sub	x9, x23, #1
	and	x8, x10, #0x7fffffff
	cmp	x8, x9
	b.hs	LBB0_4
; %bb.21:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x28, #8]
	mov	w10, #72
	madd	x0, x8, x10, x9
	add	x25, x21, x26
	ldr	x1, [x25]
	bl	_phi_at
	str	x0, [x25, #40]
LBB0_22:                                ;   in Loop: Header=BB0_9 Depth=1
	ldp	x0, x25, [sp, #8]               ; 16-byte Folded Reload
LBB0_23:                                ;   in Loop: Header=BB0_9 Depth=1
	lsl	x8, x25, #32
	add	x9, x21, x26
	sub	w10, w0, w25
	lsl	x10, x10, #32
	sdiv	x10, x10, x24
	stp	x10, x8, [x9, #24]
	ldrsw	x8, [x28]
	cmp	x23, x8
	b.ge	LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	sub	x8, x8, x20
	ldr	x21, [x28, #8]
	add	x23, x23, #1
	add	x26, x26, #72
	mov	x24, x22
	cmp	x8, #96
	b.ge	LBB0_9
	b	LBB0_4
LBB0_25:
Lloh7:
	adrp	x27, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x27, [x27, _ENOMEM@GOTPAGEOFF]
	b	LBB0_4
LBB0_26:
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	cmp	x20, x8
	b.ne	LBB0_3
; %bb.27:
	mov	w0, #0
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_INT64_MAX,8,3                  ; @INT64_MAX
	.no_dead_strip	_wavesynth_parse_extradata
.subsections_via_symbols
