	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_slice_luma
_filter_slice_luma:                     ## @filter_slice_luma
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r9d
	movl	(%rsi), %ebx
	movl	%ebx, %eax
	imull	%edx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %r8d
	incl	%r9d
	imull	%ebx, %r9d
	movl	%r9d, %eax
	cltd
	idivl	%ecx
	cmpl	%eax, %r8d
	jge	LBB0_6
## %bb.1:
	movq	(%rdi), %r14
	movq	8(%rsi), %rdx
	movq	16(%rsi), %r9
	movq	(%rdx), %r10
	movl	24(%rsi), %edx
	movl	(%r14), %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r8d
	cmpl	%eax, %r8d
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movl	%ecx, %edi
	imull	%edx, %edi
	testl	%edi, %edi
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r9), %ecx
	imull	%r8d, %ecx
	movslq	%ecx, %rcx
	leaq	(%r10,%rcx,4), %r11
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r11,%rbx,4), %ecx
	subl	4(%r14), %ecx
	imull	8(%r14), %ecx
	addl	12(%r14), %ecx
	sarl	$16, %ecx
	movl	%ecx, (%r11,%rbx,4)
	movl	24(%rsi), %edx
	movl	(%r14), %ecx
	movl	%ecx, %edi
	imull	%edx, %edi
	incq	%rbx
	cmpl	%edi, %ebx
	jl	LBB0_4
	jmp	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_filter_slice_luma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_slice_luma
_filter_slice_luma:                     ; @filter_slice_luma
	.cfi_startproc
; %bb.0:
	ldr	w9, [x1]
	mul	w10, w9, w2
	sdiv	w8, w10, w3
	add	w9, w9, w10
	sdiv	w9, w9, w3
	cmp	w8, w9
	b.ge	LBB0_6
; %bb.1:
	ldr	x10, [x0]
	ldp	x12, x11, [x1, #8]
	ldr	x12, [x12]
	ldr	w13, [x1, #24]
	ldr	w14, [x10]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w8, #1
	cmp	w8, w9
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mul	w15, w14, w13
	cmp	w15, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x15, #0
	ldr	w13, [x11]
	mul	w13, w13, w8
	add	x16, x12, w13, sxtw #2
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x13, x15, #2
	ldr	w14, [x16, x13]
	ldp	w17, w0, [x10, #4]
	sub	w14, w14, w17
	ldr	w17, [x10, #12]
	madd	w14, w14, w0, w17
	asr	w14, w14, #16
	str	w14, [x16, x13]
	ldr	w13, [x1, #24]
	ldr	w14, [x10]
	mul	w17, w14, w13
	add	x15, x15, #1
	cmp	w15, w17
	b.lt	LBB0_5
	b	LBB0_2
LBB0_6:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_filter_slice_luma
.subsections_via_symbols
