	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function process_callback
LCPI0_0:
	.quad	0x412e848000000000              ## double 1.0E+6
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_process_callback:                      ## @process_callback
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	48(%rsi), %edi
	testl	%edi, %edi
	je	LBB0_29
## %bb.1:
	movq	%rsi, %r13
	callq	_jack_frames_since_cycle_start
	movq	%rax, %r14
	movl	44(%r13), %r15d
	xorl	%eax, %eax
	callq	_av_gettime
	divsd	LCPI0_0(%rip), %xmm0
	cvtsi2sd	%r14, %xmm1
	divsd	(%r13), %xmm1
	subsd	%xmm1, %xmm0
	movl	8(%r13), %esi
	movl	%r15d, %edi
	callq	_ff_timefilter_update
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movl	40(%r13), %edi
	callq	_av_fifo_size
	cmpl	$16, %eax
	jb	LBB0_3
## %bb.2:
	movl	24(%r13), %edi
	callq	_av_fifo_space
	cmpl	$15, %eax
	ja	LBB0_4
LBB0_3:
	movl	$1, 12(%r13)
	jmp	LBB0_29
LBB0_4:
	movl	40(%r13), %edi
	leaq	-96(%rbp), %rsi
	movl	$16, %edx
	xorl	%ecx, %ecx
	callq	_av_fifo_generic_read
	movl	16(%r13), %r8d
	testl	%r8d, %r8d
	jle	LBB0_27
## %bb.5:
	movq	-88(%rbp), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	16(%rax), %r12
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r15
	addq	$4, %r12
	addq	$4, %r14
	cmpq	%r9, %r15
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jge	LBB0_26
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_22 Depth 2
                                        ##     Child Loop BB0_25 Depth 2
	movq	32(%r13), %rax
	movl	(%rax,%r15,4), %edi
	movq	_JackCaptureLatency@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rdx
	callq	_jack_port_get_latency_range
	addq	-80(%rbp), %rbx
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	32(%r13), %rax
	movl	(%rax,%r15,4), %edi
	movl	8(%r13), %esi
	callq	_jack_port_get_buffer
	movl	8(%r13), %r11d
	movl	16(%r13), %r8d
	movslq	%r8d, %r9
	testl	%r11d, %r11d
	jle	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$8, %r11d
	jb	LBB0_19
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$1, %r8d
	jne	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r15,4), %rcx
	subq	%rax, %rcx
	movl	$0, %edi
	cmpq	$32, %rcx
	jb	LBB0_20
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%r11d, %edi
	andl	$-8, %edi
	leaq	-8(%rdi), %rcx
	movq	%rcx, %r10
	shrq	$3, %r10
	incq	%r10
	testq	%rcx, %rcx
	je	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r10, %rcx
	andq	$-2, %rcx
	movq	%r9, %rbx
	shlq	$5, %rbx
	movq	%r9, %rsi
	shlq	$6, %rsi
	movq	%r12, %r13
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	(%rax,%rdx,4), %xmm0
	movups	16(%rax,%rdx,4), %xmm1
	movups	%xmm0, -16(%r13)
	movups	%xmm1, (%r13)
	movupd	32(%rax,%rdx,4), %xmm0
	movupd	48(%rax,%rdx,4), %xmm1
	movupd	%xmm0, -16(%r13,%rbx)
	movupd	%xmm1, (%r13,%rbx)
	addq	$16, %rdx
	addq	%rsi, %r13
	addq	$-2, %rcx
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	testb	$1, %r10b
	je	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movupd	(%rax,%rdx,4), %xmm0
	movupd	16(%rax,%rdx,4), %xmm1
	imulq	%r9, %rdx
	addq	%r15, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movupd	%xmm0, (%rcx,%rdx,4)
	movupd	%xmm1, 16(%rcx,%rdx,4)
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%r11, %rdi
	je	LBB0_6
	jmp	LBB0_20
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%edi, %edi
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rdi, %rcx
	notq	%rcx
	addq	%r11, %rcx
	movq	%r11, %rdx
	andq	$3, %rdx
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rdi, %rsi
	imulq	%r9, %rsi
	addq	%r15, %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%rsi,4), %rsi
	leaq	(,%r9,4), %rbx
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	(%rax,%rdi,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rsi)
	incq	%rdi
	addq	%rbx, %rsi
	decq	%rdx
	jne	LBB0_22
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$3, %rcx
	jb	LBB0_6
## %bb.24:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	3(%rdi), %rcx
	imulq	%r9, %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %r10
	movq	%r9, %r13
	shlq	$4, %r13
	leaq	2(%rdi), %rcx
	imulq	%r9, %rcx
	leaq	(%rdx,%rcx,4), %rsi
	movq	%rdi, %rcx
	imulq	%r9, %rcx
	leaq	(%rdx,%rcx,4), %rbx
	leaq	1(%rdi), %rcx
	imulq	%r9, %rcx
	leaq	(%rdx,%rcx,4), %rcx
	movq	%r14, %rdx
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	(%rax,%rdi,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rbx,%rdx)
	movss	4(%rax,%rdi,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rcx,%rdx)
	movss	8(%rax,%rdi,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rsi,%rdx)
	movss	12(%rax,%rdi,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%r10,%rdx)
	addq	$4, %rdi
	addq	%r13, %rdx
	cmpq	%rdi, %r11
	jne	LBB0_25
	jmp	LBB0_6
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%edx, %edx
	testb	$1, %r10b
	jne	LBB0_15
	jmp	LBB0_16
LBB0_26:
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rbx, %xmm0
	jmp	LBB0_28
LBB0_27:
	xorpd	%xmm0, %xmm0
LBB0_28:
	xorps	%xmm1, %xmm1
	cvtsi2sd	%r8d, %xmm1
	mulsd	(%r13), %xmm1
	divsd	%xmm1, %xmm0
	movsd	-56(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	subsd	%xmm0, %xmm1
	mulsd	LCPI0_0(%rip), %xmm1
	movsd	%xmm1, -96(%rbp)
	movl	24(%r13), %edi
	leaq	-96(%rbp), %rsi
	movl	$16, %edx
	xorl	%ecx, %ecx
	callq	_av_fifo_generic_write
	addq	$20, %r13
	movq	%r13, %rdi
	callq	_sem_post
LBB0_29:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JackCaptureLatency,4,2         ## @JackCaptureLatency
	.no_dead_strip	_process_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_callback
_process_callback:                      ; @process_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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 b8, -88
	.cfi_offset b9, -96
	ldr	w0, [x1, #48]
	cbz	w0, LBB0_19
; %bb.1:
	mov	x19, x1
	bl	_jack_frames_since_cycle_start
	mov	x20, x0
	ldr	w21, [x19, #44]
	bl	_av_gettime
	mov	x8, #145685290680320
	movk	x8, #16686, lsl #48
	fmov	d1, x8
	fdiv	d0, d0, d1
	scvtf	d1, x20
	ldr	d2, [x19]
	fdiv	d1, d1, d2
	fsub	d0, d0, d1
	ldr	w1, [x19, #8]
	mov	x0, x21
	bl	_ff_timefilter_update
	fmov	d8, d0
	ldr	w0, [x19, #40]
	bl	_av_fifo_size
	cmp	w0, #16
	b.lo	LBB0_3
; %bb.2:
	ldr	w0, [x19, #24]
	bl	_av_fifo_space
	cmp	w0, #15
	b.hi	LBB0_4
LBB0_3:
	mov	w8, #1
	str	w8, [x19, #12]
	b	LBB0_19
LBB0_4:
	ldr	w0, [x19, #40]
	add	x1, sp, #16
	mov	w2, #16
	mov	x3, #0
	bl	_av_fifo_generic_read
	ldr	w8, [x19, #16]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.5:
	mov	x21, #0
	mov	x20, #0
	ldr	x22, [sp, #24]
	add	x23, x22, #32
Lloh0:
	adrp	x24, _JackCaptureLatency@GOTPAGE
Lloh1:
	ldr	x24, [x24, _JackCaptureLatency@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x20, x25, x20
	add	x21, x21, #1
	add	x23, x23, #4
	cmp	x21, x9
	b.ge	LBB0_16
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
	ldr	x8, [x19, #32]
	lsl	x26, x21, #2
	ldr	w0, [x8, x26]
	ldr	w1, [x24]
	add	x2, sp, #8
	bl	_jack_port_get_latency_range
	ldr	x25, [sp, #8]
	ldr	x8, [x19, #32]
	ldr	w0, [x8, x26]
	ldr	w1, [x19, #8]
	bl	_jack_port_get_buffer
	ldr	w10, [x19, #8]
	ldr	w8, [x19, #16]
	sxtw	x9, w8
	cmp	w10, #1
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x11, #0
	cmp	w10, #16
	b.lo	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w8, #1
	b.ne	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x12, x22, x21, lsl #2
	sub	x12, x12, x0
	cmp	x12, #64
	b.lo	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	and	x11, x10, #0xfffffff0
	lsl	x12, x9, #6
	add	x13, x0, #32
	mov	x14, x23
	mov	x15, x11
LBB0_12:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x13, #-32]
	ldp	q2, q3, [x13], #64
	stp	q0, q1, [x14, #-32]
	stp	q2, q3, [x14]
	add	x14, x14, x12
	subs	x15, x15, #16
	b.ne	LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	x11, x10
	b.eq	LBB0_6
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	madd	x12, x11, x9, x21
	add	x12, x22, x12, lsl #2
	lsl	x13, x9, #2
	add	x14, x0, x11, lsl #2
	sub	x10, x10, x11
LBB0_15:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	s0, [x14], #4
	str	s0, [x12]
	add	x12, x12, x13
	subs	x10, x10, #1
	b.ne	LBB0_15
	b	LBB0_6
LBB0_16:
	scvtf	d0, x20
	b	LBB0_18
LBB0_17:
	movi	d0, #0000000000000000
LBB0_18:
	scvtf	d1, w8
	ldr	d2, [x19]
	fmul	d1, d2, d1
	fdiv	d0, d0, d1
	fsub	d0, d8, d0
	mov	x8, #145685290680320
	movk	x8, #16686, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	str	d0, [sp, #16]
	ldr	w0, [x19, #24]
	add	x1, sp, #16
	mov	w2, #16
	mov	x3, #0
	bl	_av_fifo_generic_write
	add	x0, x19, #20
	bl	_sem_post
LBB0_19:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_JackCaptureLatency,4,2         ; @JackCaptureLatency
	.no_dead_strip	_process_callback
.subsections_via_symbols
