	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_msmpeg4_handle_slices       ## -- Begin function ff_msmpeg4_handle_slices
	.p2align	4, 0x90
_ff_msmpeg4_handle_slices:              ## @ff_msmpeg4_handle_slices
	.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
	cmpq	$0, (%rdi)
	jne	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	movl	8(%rdi), %ecx
	xorl	%r14d, %r14d
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.2:
	movl	12(%rbx), %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	jne	LBB0_5
## %bb.3:
	movl	$1, %r14d
	cmpl	$3, 16(%rbx)
	jg	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_ff_mpeg4_clean_buffers
LBB0_5:
	movl	%r14d, 20(%rbx)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_msmpeg4_handle_slices       ; -- Begin function ff_msmpeg4_handle_slices
	.p2align	2
_ff_msmpeg4_handle_slices:              ; @ff_msmpeg4_handle_slices
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	cbnz	x8, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_7
; %bb.2:
	ldr	w9, [x19, #12]
	sdiv	w10, w9, w8
	msub	w8, w10, w8, w9
	cbz	w8, LBB0_4
; %bb.3:
	mov	w8, #0
	b	LBB0_7
LBB0_4:
	ldr	w8, [x19, #16]
	cmp	w8, #3
	b.gt	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_ff_mpeg4_clean_buffers
LBB0_6:
	mov	w8, #1
LBB0_7:
	str	w8, [x19, #20]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
