	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mm_decode_inter
_mm_decode_inter:                       ## @mm_decode_inter
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %r13
	leaq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_bytestream2_get_le16
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_bytestream2_get_bytes_left
	cmpl	%ebx, %eax
	jge	LBB0_2
LBB0_1:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_21
LBB0_2:
	movslq	%ebx, %r12
	addq	(%r14), %r12
	movq	%r14, %rdi
	callq	_bytestream2_get_bytes_left
	subl	%ebx, %eax
	leaq	-104(%rbp), %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_bytestream2_init
	movq	(%r14), %rcx
	xorl	%eax, %eax
	cmpq	-96(%rbp), %rcx
	jge	LBB0_21
## %bb.3:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##       Child Loop BB0_9 Depth 3
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
                                        ## kill: def $eax killed $eax def $rax
	movl	%ebx, %ecx
	andl	$128, %ecx
	leal	(%rax,%rcx,2), %r12d
	andl	$127, %ebx
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	je	LBB0_20
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addl	%edx, %eax
	movq	8(%r13), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	leal	1(%rdx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
LBB0_8:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_bytestream2_get_byte
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	$7, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=3
	addl	%esi, %edx
	movslq	%edx, %rdx
	movl	%eax, (%rcx,%rdx,4)
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=3
	addl	%r15d, %r12d
	incl	%r12d
	addl	$-1, %r14d
	jae	LBB0_18
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_8 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leal	(%r15,%r12), %eax
	movq	8(%r13), %rcx
	cmpl	4(%rcx), %eax
	jge	LBB0_1
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=3
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	btl	%r14d, %eax
	jae	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=3
	leaq	-104(%rbp), %rdi
	callq	_bytestream2_get_byte
	movq	%r13, %r8
	movq	(%r13), %rcx
	movq	(%rcx), %rsi
	movq	8(%rcx), %rdx
	movl	(%rdx), %edi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	imull	%ebx, %edi
	addl	%r12d, %edi
	movq	(%rsi), %rcx
	movslq	%edi, %rsi
	movl	%eax, (%rcx,%rsi,4)
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=3
	movl	(%rdx), %esi
	imull	%ebx, %esi
	addl	%r12d, %esi
	incl	%esi
	movslq	%esi, %rsi
	movl	%eax, (%rcx,%rsi,4)
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	movq	%r8, %r13
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=3
	leal	1(%r12), %esi
	movl	(%rdx), %edi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	imull	%ebx, %edi
	addl	%r12d, %edi
	movslq	%edi, %rdi
	movl	%eax, (%rcx,%rdi,4)
	movl	(%rdx), %edx
	imull	%ebx, %edx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=3
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	movq	%r8, %r13
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=3
	movl	(%rdx), %esi
	imull	-44(%rbp), %esi                 ## 4-byte Folded Reload
	movl	%r12d, %edx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=2
	movl	-76(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	cmpl	-72(%rbp), %eax                 ## 4-byte Folded Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_8
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r12d
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, %r12d
	movq	(%r14), %rcx
	xorl	%eax, %eax
                                        ## kill: def $r12d killed $r12d killed $r12 def $r12
	cmpq	-96(%rbp), %rcx
	jl	LBB0_4
	jmp	LBB0_21
LBB0_6:
	xorl	%eax, %eax
LBB0_21:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_mm_decode_inter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mm_decode_inter
_mm_decode_inter:                       ; @mm_decode_inter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x22, x0, #16
	mov	x0, x22
	bl	_bytestream2_get_le16
	mov	x23, x0
	mov	x0, x22
	bl	_bytestream2_get_bytes_left
	cmp	w0, w23
	b.ge	LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_21
LBB0_2:
	ldr	x8, [x22]
	add	x24, x8, w23, sxtw
	mov	x0, x22
	bl	_bytestream2_get_bytes_left
	sub	w2, w0, w23
	add	x0, sp, #16
	mov	x1, x24
	bl	_bytestream2_init
	ldr	x8, [x22]
	ldr	x9, [sp, #24]
	cmp	x8, x9
	b.ge	LBB0_20
; %bb.3:
	mov	w24, #0
	add	w25, w19, #1
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_10 Depth 3
	mov	x0, x22
	bl	_bytestream2_get_byte
	mov	x23, x0
	mov	x0, x22
	bl	_bytestream2_get_byte
	lsl	w8, w23, #1
	and	w8, w8, #0x100
	add	w26, w8, w0
	ands	w8, w23, #0x7f
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	b.eq	LBB0_19
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	add	w9, w24, w19
	cmp	w9, w8
	b.ge	LBB0_20
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w25, [sp, #8]                   ; 4-byte Folded Spill
	mov	w28, #0
	add	w25, w24, #1
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_10 Depth 3
	mov	x0, x22
	bl	_bytestream2_get_byte
	mov	x23, x0
	mov	w27, #7
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=3
	add	w9, w10, w9
	str	w0, [x8, w9, sxtw #2]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=3
	add	w8, w26, w20
	add	w26, w8, #1
	sub	w27, w27, #1
	cmn	w27, #1
	b.eq	LBB0_17
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x8, [x21, #8]
	ldr	w8, [x8, #4]
	add	w9, w20, w26
	cmp	w9, w8
	b.ge	LBB0_1
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=3
	lsr	w8, w23, w27
	tbz	w8, #0, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=3
	add	x0, sp, #16
	bl	_bytestream2_get_byte
	ldr	x8, [x21]
	ldp	x10, x9, [x8]
	ldr	x8, [x10]
	ldr	w10, [x9]
	madd	w10, w10, w24, w26
	str	w0, [x8, w10, sxtw #2]
	cbz	w20, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=3
	ldr	w10, [x9]
	madd	w10, w10, w24, w26
	add	w10, w10, #1
	str	w0, [x8, w10, sxtw #2]
	cbz	w19, LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=3
	add	w10, w26, #1
	ldr	w11, [x9]
	madd	w11, w11, w25, w26
	str	w0, [x8, w11, sxtw #2]
	ldr	w9, [x9]
	mul	w9, w9, w25
	b	LBB0_8
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=3
	cbz	w19, LBB0_9
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=3
	ldr	w9, [x9]
	mul	w10, w9, w25
	mov	x9, x26
	b	LBB0_8
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=2
	add	w28, w28, #1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w28, w8
	b.ne	LBB0_7
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w25, [sp, #8]                   ; 4-byte Folded Reload
	mov	x26, x25
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #0
	add	w24, w26, w24
	ldr	x8, [x22]
	ldr	x9, [sp, #24]
	cmp	x8, x9
	b.lt	LBB0_4
	b	LBB0_21
LBB0_20:
	mov	w0, #0
LBB0_21:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_mm_decode_inter
.subsections_via_symbols
