	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_slice_alpha
_filter_slice_alpha:                    ## @filter_slice_alpha
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -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_7
## %bb.1:
	movq	(%rdi), %rcx
	movq	_A@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r9
	movl	(%rcx), %r13d
	xorl	%r15d, %r15d
	testl	%r13d, %r13d
	movslq	%r9d, %rdx
	cmoveq	%rdx, %r15
	movq	8(%rsi), %rdx
	movq	16(%rsi), %r10
	movq	(%rdx,%r15,8), %r11
	movq	8(%rcx), %r14
	movl	24(%rsi), %edi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	xorl	%ebx, %ebx
	testl	%r13d, %r13d
	setne	%dl
	testl	%edi, %edi
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movb	%dl, %bl
	leaq	(%rbx,%rbx,2), %r12
	incq	%r12
	movslq	(%r14,%r9,4), %rdx
	movslq	%r13d, %rdi
	imulq	%rdx, %rdi
	movl	(%r10,%r15,4), %edx
	imull	%r8d, %edx
	movslq	%edx, %rdx
	addq	%rdi, %rdx
	leaq	(%r11,%rdx,4), %rdx
	shlq	$2, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdx), %edi
	subl	16(%rcx), %edi
	imull	20(%rcx), %edi
	addl	24(%rcx), %edi
	sarl	$16, %edi
	movl	%edi, (%rdx)
	incl	%ebx
	movl	24(%rsi), %edi
	addq	%r12, %rdx
	cmpl	%edi, %ebx
	jl	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r8d
	cmpl	%eax, %r8d
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rcx), %r13d
	jmp	LBB0_2
LBB0_7:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_A,8,3                          ## @A
	.no_dead_strip	_filter_slice_alpha
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_slice_alpha
_filter_slice_alpha:                    ; @filter_slice_alpha
	.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_7
; %bb.1:
	ldr	x10, [x0]
Lloh0:
	adrp	x11, _A@GOTPAGE
Lloh1:
	ldr	x11, [x11, _A@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	ldr	w0, [x10]
	sxtw	x12, w11
	cmp	w0, #0
	csel	x12, x12, xzr, eq
	ldp	x14, x13, [x1, #8]
	ldr	x14, [x14, x12, lsl #3]
	ldr	x15, [x10, #8]
	ldr	w17, [x1, #24]
	mov	w16, #4
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	cmp	w0, #0
	csinc	x3, x16, xzr, ne
	cmp	w17, #1
	b.lt	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w2, #0
	ldr	w17, [x13, x12, lsl #2]
	ldrsw	x4, [x15, x11, lsl #2]
	sxtw	x0, w0
	mul	x0, x4, x0
	mul	w17, w17, w8
	add	x17, x0, w17, sxtw
	add	x0, x14, x17, lsl #2
	lsl	x3, x3, #2
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w17, [x0]
	ldp	w4, w5, [x10, #16]
	sub	w17, w17, w4
	ldr	w4, [x10, #24]
	madd	w17, w17, w5, w4
	asr	w17, w17, #16
	str	w17, [x0]
	add	w2, w2, #1
	ldr	w17, [x1, #24]
	add	x0, x0, x3
	cmp	w2, w17
	b.lt	LBB0_4
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w8, #1
	cmp	w8, w9
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x10]
	b	LBB0_2
LBB0_7:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_A,8,3                          ; @A
	.no_dead_strip	_filter_slice_alpha
.subsections_via_symbols
