	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_slice_rgb
_filter_slice_rgb:                      ## @filter_slice_rgb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %r9d
	movq	(%rdi), %rdi
	movl	(%rsi), %r10d
	movl	%r10d, %eax
	imull	%edx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %r8d
	incl	%r9d
	imull	%r10d, %r9d
	movl	%r9d, %eax
	cltd
	idivl	%ecx
	cmpq	$0, 8(%rdi)
	je	LBB0_5
## %bb.1:
	movl	%r8d, %edx
	movl	%eax, %ecx
	movl	$1, %r8d
LBB0_2:
	movl	$4, %r9d
LBB0_3:
	callq	_filter_rgb
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	movl	(%rdi), %ecx
	cmpl	$4, %ecx
	je	LBB0_8
## %bb.6:
	cmpl	$3, %ecx
	jne	LBB0_9
## %bb.7:
	movl	%r8d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	movl	$3, %r9d
	jmp	LBB0_3
LBB0_8:
	movl	%r8d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	jmp	LBB0_2
LBB0_9:
	xorl	%edi, %edi
	callq	_av_assert0
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_filter_slice_rgb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_slice_rgb
_filter_slice_rgb:                      ; @filter_slice_rgb
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x0, [x0]
	ldr	w8, [x1]
	mul	w9, w8, w2
	sdiv	w2, w9, w3
	add	w8, w8, w9
	ldr	x9, [x0, #8]
	sdiv	w3, w8, w3
	cbz	x9, LBB0_5
; %bb.1:
	mov	w4, #1
LBB0_2:
	mov	w5, #4
LBB0_3:
	bl	_filter_rgb
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w8, [x0]
	cmp	w8, #4
	b.eq	LBB0_8
; %bb.6:
	cmp	w8, #3
	b.ne	LBB0_9
; %bb.7:
	mov	w4, #0
	mov	w5, #3
	b	LBB0_3
LBB0_8:
	mov	w4, #0
	b	LBB0_2
LBB0_9:
	mov	w0, #0
	bl	_av_assert0
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_filter_slice_rgb
.subsections_via_symbols
