	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_slice
_process_slice:                         ## @process_slice
	.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, %r8d
	movq	%rsi, %r15
	movq	(%rdi), %rbx
	movl	(%rbx), %edi
	movl	%edi, %eax
	imull	%edx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %esi
	incl	%r8d
	imull	%edi, %r8d
	movl	%r8d, %eax
	cltd
	idivl	%ecx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %esi
	jge	LBB0_6
## %bb.1:
	movq	16(%rbx), %r14
	movslq	%esi, %r13
	movl	4(%rbx), %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	cmpl	%r13d, -44(%rbp)                ## 4-byte Folded Reload
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%eax, %eax
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	movq	%r13, %rcx
	shlq	$5, %rcx
	leaq	(%rax,%rcx), %rsi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	addq	%rcx, %rax
	addq	$24, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r15), %rax
	movq	8(%r15), %rcx
	movslq	(%rax,%r12,4), %rsi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movslq	(%rax,%r12,4), %rdi
	imulq	%rsi, %rdi
	addq	(%rcx,%r12,8), %rdi
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	movq	(%r10), %rax
	addq	(%rax,%r12,8), %rdi
	movq	(%r14,%r13,8), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movq	(%rax,%r12,8), %rdx
	movl	(%rcx,%r12,4), %ecx
	movq	-8(%r10), %rax
	movl	(%rax,%r12,4), %r8d
	movq	-16(%r10), %rax
	movl	(%rax,%r12,4), %r9d
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_av_image_copy_plane
	incq	%r12
	movslq	4(%rbx), %rax
	cmpq	%rax, %r12
	jl	LBB0_4
	jmp	LBB0_5
LBB0_6:
	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	_process_slice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_slice
_process_slice:                         ; @process_slice
	.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	x20, [x0]
	ldr	w9, [x20]
	mul	w10, w9, w2
	sdiv	w8, w10, w3
	add	w9, w9, w10
	sdiv	w21, w9, w3
	cmp	w8, w21
	b.ge	LBB0_6
; %bb.1:
	mov	x19, x1
	ldr	x22, [x20, #16]
	sxtw	x23, w8
	ldr	w8, [x20, #4]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	cmp	w21, w23
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, #0
	ldr	x8, [x20, #8]
	add	x25, x8, x23, lsl #5
	add	x26, x25, #24
	add	x27, x25, #16
	add	x28, x25, #8
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x8, x24, #3
	ldp	x10, x9, [x19]
	ldr	x9, [x9, x8]
	lsl	x11, x24, #2
	ldrsw	x1, [x10, x11]
	ldr	x10, [x25]
	ldrsw	x10, [x10, x11]
	madd	x9, x10, x1, x9
	ldr	x10, [x26]
	ldr	x10, [x10, x8]
	add	x0, x9, x10
	ldr	x9, [x22, x23, lsl #3]
	ldp	x9, x10, [x9]
	ldr	x2, [x10, x8]
	ldr	w3, [x9, x11]
	ldr	x8, [x27]
	ldr	w4, [x8, x11]
	ldr	x8, [x28]
	ldr	w5, [x8, x11]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_av_image_copy_plane
	add	x24, x24, #1
	ldrsw	x8, [x20, #4]
	cmp	x24, x8
	b.lt	LBB0_5
	b	LBB0_2
LBB0_6:
	mov	w0, #0
	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	_process_slice
.subsections_via_symbols
