	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function activate
_activate:                              ## @activate
	.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	%rdi, %rbx
	movq	16(%rdi), %r13
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rax), %r14
	movq	(%rcx), %r15
	movq	$0, -56(%rbp)
	movq	(%rcx), %rdi
	movq	%rbx, %rsi
	callq	_FF_FILTER_FORWARD_STATUS_BACK_ALL
	cmpl	$0, (%r13)
	je	LBB0_4
## %bb.1:
	cmpl	$0, 12(%r13)
	jne	LBB0_19
LBB0_2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_convert_coeffs
	testl	%eax, %eax
	jns	LBB0_19
	jmp	LBB0_3
LBB0_4:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	4(%r13), %eax
	movl	$1, %r12d
	cmpl	$2, %eax
	jl	LBB0_17
## %bb.5:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r15
	movslq	4(%r13), %rax
	cmpq	%rax, %r15
	jge	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rax
	cmpl	$0, (%rax,%r15,4)
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rbx), %rax
	movq	(%rax,%r15,8), %rdi
	movl	%r15d, %esi
	callq	_check_ir
	testl	%eax, %eax
	js	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r13), %rax
	cmpl	$0, (%rax,%r15,4)
	jne	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rbx), %rax
	movq	(%rax,%r15,8), %rdi
	callq	_ff_outlink_get_status
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r13), %rax
	movl	$1, (%rax,%r15,4)
	jmp	LBB0_6
LBB0_12:
	movl	%eax, %eax
	cmpl	$1, %eax
	jle	LBB0_16
## %bb.13:
	movq	16(%r13), %rcx
	movl	$1, %r12d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rcx,%r12,4)
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	incq	%r12
	cmpq	%r12, %rax
	jne	LBB0_14
	jmp	LBB0_18
LBB0_16:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_17:
	cmpl	%eax, %r12d
	jne	LBB0_25
LBB0_18:
	movl	$1, (%r13)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	cmpl	$0, 12(%r13)
	je	LBB0_2
LBB0_19:
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	movl	8(%r13), %edx
	leaq	-56(%rbp), %rcx
	movl	%edx, %esi
	callq	_ff_inlink_consume_samples
	testl	%eax, %eax
	jle	LBB0_21
## %bb.20:
	movq	-56(%rbp), %rsi
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_headphone_frame
	testl	%eax, %eax
LBB0_21:
	js	LBB0_3
## %bb.22:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	(%rax), %rdi
	movq	(%rcx), %rsi
	callq	_FF_FILTER_FORWARD_STATUS
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	callq	_ff_outlink_frame_wanted
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	callq	_ff_inlink_request_frame
	jmp	LBB0_24
LBB0_3:
	movl	%eax, %r14d
LBB0_24:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	callq	_ff_outlink_frame_wanted
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_24
## %bb.26:
	movl	4(%r13), %eax
	cmpl	$2, %eax
	jl	LBB0_24
## %bb.27:
	movq	%rbx, %r15
	movl	$1, %ebx
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_29 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_24
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rcx
	cmpl	$0, (%rcx,%rbx,4)
	jne	LBB0_28
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_ff_inlink_request_frame
	movl	4(%r13), %eax
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_EOF,8,3                ## @AVERROR_EOF
	.no_dead_strip	_activate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function activate
_activate:                              ; @activate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	ldp	x9, x20, [x0, #8]
	ldr	x8, [x0]
	ldr	x22, [x8]
	ldr	x21, [x9]
	str	xzr, [sp, #8]
	ldr	x0, [x9]
	mov	x1, x19
	bl	_FF_FILTER_FORWARD_STATUS_BACK_ALL
	ldr	w8, [x20]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	w8, [x20, #12]
	cbnz	w8, LBB0_18
LBB0_2:
	mov	x0, x19
	mov	x1, x22
	bl	_convert_coeffs
	tbz	w0, #31, LBB0_18
	b	LBB0_24
LBB0_3:
	ldr	w8, [x20, #4]
	mov	w24, #1
	cmp	w8, #2
	b.lt	LBB0_16
; %bb.4:
Lloh0:
	adrp	x25, _AVERROR_EOF@GOTPAGE
Lloh1:
	ldr	x25, [x25, _AVERROR_EOF@GOTPAGEOFF]
	mov	w23, #1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x20, #4]
	cmp	x23, x8
	b.ge	LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	w8, [x8, x23, lsl #2]
	cbnz	w8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	ldr	x0, [x8, x23, lsl #3]
	mov	x1, x23
	bl	_check_ir
	tbnz	w0, #31, LBB0_24
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #16]
	ldr	w8, [x8, x23, lsl #2]
	cbnz	w8, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	ldr	x0, [x8, x23, lsl #3]
	bl	_ff_outlink_get_status
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #16]
	str	w24, [x8, x23, lsl #2]
	b	LBB0_5
LBB0_11:
	and	x8, x8, #0xffffffff
	cmp	w8, #1
	b.le	LBB0_15
; %bb.12:
	ldr	x9, [x20, #16]
	mov	w24, #1
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9, x24, lsl #2]
	cbz	w10, LBB0_25
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x24, x24, #1
	cmp	x8, x24
	b.ne	LBB0_13
	b	LBB0_17
LBB0_15:
	mov	w24, #1
LBB0_16:
	cmp	w24, w8
	b.ne	LBB0_26
LBB0_17:
	mov	w8, #1
	str	w8, [x20]
	ldr	w8, [x20, #12]
	cbz	w8, LBB0_2
LBB0_18:
	ldr	x8, [x19]
	ldr	x0, [x8]
	ldr	w1, [x20, #8]
	add	x3, sp, #8
	mov	x2, x1
	bl	_ff_inlink_consume_samples
	cmp	w0, #1
	b.lt	LBB0_20
; %bb.19:
	ldr	x1, [sp, #8]
	mov	x0, x20
	mov	x2, x21
	bl	_headphone_frame
LBB0_20:
	tbnz	w0, #31, LBB0_24
; %bb.21:
	ldp	x8, x9, [x19]
	ldr	x0, [x8]
	ldr	x1, [x9]
	bl	_FF_FILTER_FORWARD_STATUS
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	bl	_ff_outlink_frame_wanted
	cbz	x0, LBB0_24
; %bb.22:
	ldr	x8, [x19]
	ldr	x0, [x8]
	bl	_ff_inlink_request_frame
LBB0_23:
	mov	w0, #0
LBB0_24:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_25:
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	cmp	w24, w8
	b.eq	LBB0_17
LBB0_26:
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	bl	_ff_outlink_frame_wanted
	cbz	x0, LBB0_24
; %bb.27:
	ldr	w8, [x20, #4]
	cmp	w8, #2
	b.lt	LBB0_23
; %bb.28:
	mov	w21, #1
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_23
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #16]
	ldr	w9, [x9, x21, lsl #2]
	cbnz	w9, LBB0_29
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	x8, [x19]
	ldr	x0, [x8, x21, lsl #3]
	bl	_ff_inlink_request_frame
	ldr	w8, [x20, #4]
	b	LBB0_29
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_EOF,8,3                ; @AVERROR_EOF
	.no_dead_strip	_activate
.subsections_via_symbols
