	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wmv2_decode_inter_block
_wmv2_decode_inter_block:               ## @wmv2_decode_inter_block
	.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, %r15d
	leaq	40(%rdi), %r14
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r13
	movq	%rdi, %rbx
	cmpq	$0, 32(%rdi)
	je	LBB0_3
## %bb.4:
	leaq	56(%rbx), %rdi
	callq	_decode012
	movq	%rax, (%rbx)
	jmp	LBB0_5
LBB0_1:
	movq	(%r14), %rax
	movslq	%r15d, %rcx
	movl	$-1, (%rax,%rcx,4)
	jmp	LBB0_11
LBB0_3:
	movq	(%rbx), %rax
LBB0_5:
	movq	8(%rbx), %rcx
	movslq	%r15d, %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	24(%rbx), %rcx
	movq	-8(%rcx,%rax,8), %r12
	leaq	56(%rbx), %rdi
	callq	_decode012
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%rax, %r13
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	movl	$1, %ecx
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %r8
	callq	_ff_msmpeg4_decode_block
	testl	%eax, %eax
	js	LBB0_12
## %bb.8:
	cmpq	$2, %r13
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_10
LBB0_9:
	movq	16(%rbx), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	movl	$1, %ecx
	movq	%r12, %r8
	callq	_ff_msmpeg4_decode_block
	testl	%eax, %eax
	js	LBB0_12
LBB0_10:
	movq	(%r14), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	$63, (%rax,%rcx,4)
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	48(%rbx), %r8
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	movl	$1, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_msmpeg4_decode_block        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wmv2_decode_inter_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wmv2_decode_inter_block
_wmv2_decode_inter_block:               ; @wmv2_decode_inter_block
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	add	x19, x0, #40
	cbz	w3, LBB0_3
; %bb.1:
	mov	x22, x1
	mov	x21, x0
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_4
; %bb.2:
	add	x0, x21, #56
	bl	_decode012
	str	x0, [x21]
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	ldr	x8, [x19]
	mov	w9, #-1
	str	w9, [x8, w20, sxtw #2]
	b	LBB0_11
LBB0_4:
	ldr	x0, [x21]
LBB0_5:
	ldr	x8, [x21, #8]
	str	x0, [x8, w20, sxtw #3]
	ldr	x8, [x21]
	cbz	x8, LBB0_12
; %bb.6:
	sxtw	x25, w20
	ldr	x9, [x21, #24]
	add	x8, x9, x8, lsl #3
	ldur	x23, [x8, #-8]
	add	x0, x21, #56
	bl	_decode012
	cbz	x0, LBB0_9
; %bb.7:
	mov	x24, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	w3, #1
	mov	x4, x23
	bl	_ff_msmpeg4_decode_block
	tbnz	w0, #31, LBB0_11
; %bb.8:
	cmp	x24, #2
	b.eq	LBB0_10
LBB0_9:
	ldr	x8, [x21, #16]
	ldr	x1, [x8, x25, lsl #3]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #1
	mov	x4, x23
	bl	_ff_msmpeg4_decode_block
	tbnz	w0, #31, LBB0_11
LBB0_10:
	mov	w0, #0
	ldr	x8, [x19]
	mov	w9, #63
	str	w9, [x8, x25, lsl #2]
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	ldr	x4, [x21, #48]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	w3, #1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ff_msmpeg4_decode_block
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wmv2_decode_inter_block
.subsections_via_symbols
