	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_vertically
_filter_vertically:                     ## @filter_vertically
	.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
	movl	%edx, %ebx
	movq	(%rdi), %rdi
	movl	(%rsi), %r14d
	movl	4(%rsi), %r13d
	movl	%r13d, %eax
	imull	%edx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %r8d
	incl	%ebx
	imull	%r13d, %ebx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %r15d
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movss	(%rdi), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movss	%xmm1, -48(%rbp)                ## 4-byte Spill
	movl	4(%rdi), %r12d
	movss	8(%rdi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movq	16(%rdi), %rbx
	subl	%r8d, %r15d
	andl	$-8, %r15d
	addl	%r8d, %r15d
	movl	$8, (%rsp)
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movl	%r8d, %ecx
	movl	%r15d, %r8d
	movl	%r12d, %r9d
	callq	_do_vertical_columns
	movl	$1, (%rsp)
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movl	%r12d, %r9d
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-48(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	callq	_do_vertical_columns
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_filter_vertically
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_vertically
_filter_vertically:                     ; @filter_vertically
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x9, [x0]
	ldp	w19, w20, [x1]
	mul	w10, w20, w2
	sdiv	w8, w10, w3
	add	w10, w20, w10
	sdiv	w21, w10, w3
	ldr	s8, [x9]
	ldr	w22, [x9, #4]
	ldr	s9, [x9, #8]
	ldr	x23, [x9, #16]
	sub	w9, w21, w8
	and	w9, w9, #0xfffffff8
	add	w24, w9, w8
	mov	x0, x23
	mov	x1, x20
	mov	x2, x19
	mov	x3, x8
	mov	x4, x24
	mov	x5, x22
	fmov	s0, s9
	fmov	s1, s8
	mov	w6, #8
	bl	_do_vertical_columns
	mov	x0, x23
	mov	x1, x20
	mov	x2, x19
	mov	x3, x24
	mov	x4, x21
	mov	x5, x22
	fmov	s0, s9
	fmov	s1, s8
	mov	w6, #1
	bl	_do_vertical_columns
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_filter_vertically
.subsections_via_symbols
