	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter16_tout
_filter16_tout:                         ## @filter16_tout
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r10d
	movq	8(%rsi), %r8
	movl	4(%r8), %r9d
	movl	%r9d, %eax
	imull	%edx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %ebx
	incl	%r10d
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	imull	%r9d, %r10d
	movl	%r10d, %eax
	cltd
	idivl	%ecx
	xorl	%r12d, %r12d
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %ebx
	jge	LBB0_20
## %bb.1:
	movq	(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%r8), %eax
	movl	$2, %r13d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	subl	%eax, %r13d
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-64(%rbp), %ebx                 ## 4-byte Reload
	cmpl	-60(%rbp), %ebx                 ## 4-byte Folded Reload
	je	LBB0_20
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
	movl	%ebx, %r14d
	leal	1(%r14), %ecx
	testl	%ebx, %ebx
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	jle	LBB0_19
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	jge	LBB0_19
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %r14d
	jb	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	2(%r14), %eax
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	jge	LBB0_6
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$3, -44(%rbp)                   ## 4-byte Folded Reload
	jl	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r15d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=2
	leal	(%r15,%r13), %eax
	incl	%eax
	movl	%r15d, %ecx
	incl	%ecx
	movl	%ecx, %r15d
	cmpl	$1, %eax
	je	LBB0_19
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$2, %edi
	callq	_FILTER3
	testl	%eax, %eax
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movl	$1, %edi
	callq	_FILTER3
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	addl	%ecx, %r12d
	testl	%eax, %eax
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_burn_frame16
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$3, -44(%rbp)                   ## 4-byte Folded Reload
	jl	LBB0_19
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	addl	%r15d, %r12d
	leal	(%rbx,%r13), %eax
	incl	%eax
	movl	%ebx, %ecx
	incl	%ecx
	movl	%ecx, %ebx
	cmpl	$1, %eax
	je	LBB0_19
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$1, %edi
	callq	_FILTER3
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	movl	%r14d, %ecx
	callq	_burn_frame16
	jmp	LBB0_11
LBB0_20:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_filter16_tout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter16_tout
_filter16_tout:                         ; @filter16_tout
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x1, #8]
	ldr	w24, [x8, #4]
	mul	w9, w24, w2
	sdiv	w22, w9, w3
	add	w9, w24, w9
	sdiv	w25, w9, w3
	cmp	w22, w25
	b.ge	LBB0_20
; %bb.1:
	mov	w19, #0
	ldr	x20, [x0]
	ldr	x21, [x1]
	ldr	w26, [x8]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x27
	cmp	w27, w25
	b.eq	LBB0_21
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
	add	w27, w22, #1
	cmp	w22, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w27, w24
	b.ge	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w22, #2
	b.lo	LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w22, #2
	cmp	w8, w24
	b.ge	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w26, #3
	b.lt	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w23, #2
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	w23, w23, #1
	cmp	w26, w23
	b.eq	LBB0_2
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	w0, #2
	bl	_FILTER3
	cbz	w0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	w0, #1
	bl	_FILTER3
	cmp	w0, #0
	cinc	w19, w19, ne
	cbz	w0, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	cbz	x21, LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=2
	sub	w2, w23, #1
	mov	x0, x20
	mov	x1, x21
	mov	x3, x22
	bl	_burn_frame16
	b	LBB0_9
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w26, #3
	b.lt	LBB0_2
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w28, #2
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=2
	add	w19, w23, w19
	add	w28, w28, #1
	cmp	w26, w28
	b.eq	LBB0_2
LBB0_17:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	w0, #1
	bl	_FILTER3
	mov	x23, x0
	cbz	w0, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	cbz	x21, LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=2
	sub	w2, w28, #1
	mov	x0, x20
	mov	x1, x21
	mov	x3, x22
	bl	_burn_frame16
	b	LBB0_16
LBB0_20:
	mov	w19, #0
LBB0_21:
	mov	x0, x19
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_filter16_tout
.subsections_via_symbols
