	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_mb
_decode_mb:                             ## @decode_mb
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -88(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	56(%rdi), %r13
	movq	%r13, %rdi
	callq	_get_bits1
	movl	%eax, %r15d
	movl	%eax, -80(%rbp)
	movq	%r13, %rdi
	callq	_get_bits1
	movl	%eax, -76(%rbp)
	movq	%r13, %rdi
	callq	_get_bits1
	movl	%eax, -72(%rbp)
	movq	%r13, %rdi
	callq	_get_bits1
	movl	%eax, -68(%rbp)
	movq	%r13, %rdi
	callq	_get_bits1
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movl	%eax, -64(%rbp)
	movq	%r13, %rdi
	callq	_get_bits1
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	%eax, -60(%rbp)
	movq	(%r12), %rax
	movq	8(%r12), %rsi
	movq	(%rax), %rax
	movl	(%rax), %r13d
	movl	48(%r12), %ecx
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_decode_block
	testq	%rax, %rax
	js	LBB0_8
## %bb.1:
	imull	-88(%rbp), %r13d                ## 4-byte Folded Reload
	addl	%r14d, %r13d
	shll	$4, %r13d
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r14d, %r14d
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %eax
	andl	$1, %eax
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rdi
	movq	40(%r12), %rax
	movl	(%rdi), %ecx
	addl	(%rax), %ecx
	movl	%ecx, (%rdi)
	movl	%ecx, (%rax)
	movl	(%rdi), %edx
	movq	32(%r12), %rax
	movl	%r15d, %ecx
	shrl	%ecx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rdi
	movq	32(%r12), %rax
	movl	%r15d, %ecx
	shrl	%ecx
	movl	(%rdi), %edx
	addl	(%rax,%rcx,4), %edx
	movl	%edx, (%rdi)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, (%rax,%rcx,4)
	movl	(%rdi), %eax
	imull	52(%r12), %eax
	movl	%eax, (%rdi)
	callq	_clv_dct
	movq	(%r12), %rax
	movq	8(%r12), %rdi
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movl	(%rcx), %edx
	leal	(,%rdx,8), %ecx
	cmpq	$2, %r15
	movl	$0, %esi
	cmovnel	%esi, %ecx
	addl	%ecx, %r13d
	movslq	%r13d, %rcx
	movl	%ebx, %esi
	andl	$8, %esi
	addq	%rcx, %rsi
	addq	(%rax), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	*16(%r12)
	cmpq	$3, %r15
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-76(%rbp,%r15,4), %edx
	movq	8(%r12), %rsi
	movl	48(%r12), %ecx
	movq	%r12, %rdi
	callq	_decode_block
	addq	$8, %rbx
	incq	%r15
	testq	%rax, %rax
	jns	LBB0_2
	jmp	LBB0_8
LBB0_9:
	movq	(%r12), %rax
	movq	8(%r12), %rsi
	movq	(%rax), %rax
	movl	-88(%rbp), %ebx                 ## 4-byte Reload
	imull	4(%rax), %ebx
	movl	48(%r12), %ecx
	movq	%r12, %rdi
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	callq	_decode_block
	testq	%rax, %rax
	js	LBB0_8
## %bb.10:
	addl	%r14d, %ebx
	shll	$3, %ebx
	movslq	%ebx, %r15
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.12:
	movq	8(%r12), %rdi
	movq	32(%r12), %rax
	movl	(%rdi), %ecx
	addl	8(%rax), %ecx
	movl	%ecx, (%rdi)
	jmp	LBB0_13
LBB0_11:
	movq	8(%r12), %rdi
	movq	40(%r12), %rax
	movl	(%rdi), %ecx
	addl	4(%rax), %ecx
	movl	%ecx, (%rdi)
	movl	%ecx, 4(%rax)
	movl	(%rdi), %ecx
	movq	32(%r12), %rax
LBB0_13:
	movl	-84(%rbp), %ebx                 ## 4-byte Reload
	movl	%ecx, 8(%rax)
	movl	(%rdi), %eax
	imull	24(%r12), %eax
	movl	%eax, (%rdi)
	callq	_clv_dct
	movq	(%r12), %rax
	movq	8(%r12), %rdi
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movq	8(%rax), %rsi
	addq	%r15, %rsi
	movl	4(%rcx), %edx
	callq	*16(%r12)
	movq	8(%r12), %rsi
	movl	48(%r12), %ecx
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_decode_block
	testq	%rax, %rax
	js	LBB0_8
## %bb.14:
	testl	%r14d, %r14d
	je	LBB0_16
## %bb.15:
	movq	8(%r12), %rdi
	movq	32(%r12), %rax
	movl	(%rdi), %ecx
	addl	12(%rax), %ecx
	movl	%ecx, (%rdi)
	jmp	LBB0_17
LBB0_8:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_20
## %bb.19:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	8(%r12), %rdi
	movq	40(%r12), %rax
	movl	(%rdi), %ecx
	addl	8(%rax), %ecx
	movl	%ecx, (%rdi)
	movl	%ecx, 8(%rax)
	movl	(%rdi), %ecx
	movq	32(%r12), %rax
LBB0_17:
	movl	%ecx, 12(%rax)
	movl	(%rdi), %eax
	imull	24(%r12), %eax
	movl	%eax, (%rdi)
	callq	_clv_dct
	movq	(%r12), %rax
	movq	8(%r12), %rdi
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	addq	16(%rax), %r15
	movl	8(%rcx), %edx
	movq	%r15, %rsi
	callq	*16(%r12)
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_decode_mb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_mb
_decode_mb:                             ; @decode_mb
	.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	x22, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	add	x21, x0, #56
	mov	x0, x21
	bl	_get_bits1
	mov	x24, x0
	str	w0, [sp]
	mov	x0, x21
	bl	_get_bits1
	str	w0, [sp, #4]
	mov	x0, x21
	bl	_get_bits1
	str	w0, [sp, #8]
	mov	x0, x21
	bl	_get_bits1
	str	w0, [sp, #12]
	mov	x0, x21
	bl	_get_bits1
	mov	x23, x0
	str	w0, [sp, #16]
	mov	x0, x21
	bl	_get_bits1
	mov	x21, x0
	str	w0, [sp, #20]
	ldp	x8, x1, [x19]
	ldr	x8, [x8]
	ldr	w26, [x8]
	ldr	w3, [x19, #48]
	mov	x0, x19
	mov	x2, x24
	bl	_decode_block
	tbnz	x0, #63, LBB0_15
; %bb.1:
	mov	x24, #0
	mov	x25, #0
	madd	w8, w26, w22, w20
	lsl	w26, w8, #4
	mov	x8, sp
	add	x27, x8, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	w20, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	tbnz	w25, #0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #40]
	ldr	w9, [x8]
	ldr	x0, [x19, #8]
	ldr	w10, [x0]
	add	w9, w10, w9
	str	w9, [x0]
	str	w9, [x8]
	ldr	w10, [x0]
	ldr	x8, [x19, #32]
	ubfx	x9, x25, #1, #31
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #32]
	ubfx	x9, x25, #1, #31
	ldr	w10, [x8, x9, lsl #2]
	ldr	x0, [x19, #8]
	ldr	w11, [x0]
	add	w10, w11, w10
	str	w10, [x0]
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	w10, [x8, x9, lsl #2]
	ldr	w8, [x19, #52]
	ldr	w9, [x0]
	mul	w8, w9, w8
	str	w8, [x0]
	bl	_clv_dct
	ldp	x8, x0, [x19]
	ldp	x9, x8, [x8]
	ldr	w2, [x9]
	lsl	w9, w2, #3
	cmp	x25, #2
	csel	w9, w9, wzr, eq
	add	w26, w26, w9
	ldr	x9, [x19, #16]
	ldr	x8, [x8]
	and	x10, x24, #0x8
	add	x10, x10, w26, sxtw
	add	x1, x10, x8
	blr	x9
	cmp	x25, #3
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w2, [x27, x25, lsl #2]
	ldr	x1, [x19, #8]
	ldr	w3, [x19, #48]
	mov	x0, x19
	bl	_decode_block
	add	x24, x24, #8
	add	x25, x25, #1
	tbz	x0, #63, LBB0_2
	b	LBB0_15
LBB0_8:
	ldp	x8, x1, [x19]
	ldr	x8, [x8]
	ldr	w24, [x8, #4]
	ldr	w3, [x19, #48]
	mov	x0, x19
	mov	x2, x23
	bl	_decode_block
	tbnz	x0, #63, LBB0_15
; %bb.9:
	madd	w8, w24, w22, w20
	lsl	w8, w8, #3
	sxtw	x22, w8
	cbz	w20, LBB0_11
; %bb.10:
	ldr	x8, [x19, #32]
	ldr	w9, [x8, #8]
	ldr	x0, [x19, #8]
	ldr	w10, [x0]
	add	w9, w10, w9
	str	w9, [x0]
	b	LBB0_12
LBB0_11:
	ldr	x8, [x19, #40]
	ldr	w9, [x8, #4]
	ldr	x0, [x19, #8]
	ldr	w10, [x0]
	add	w9, w10, w9
	str	w9, [x0]
	str	w9, [x8, #4]
	ldr	w9, [x0]
	ldr	x8, [x19, #32]
LBB0_12:
	str	w9, [x8, #8]
	ldr	w8, [x19, #24]
	ldr	w9, [x0]
	mul	w8, w9, w8
	str	w8, [x0]
	bl	_clv_dct
	ldp	x0, x8, [x19, #8]
	ldr	x9, [x19]
	ldp	x9, x10, [x9]
	ldr	x10, [x10, #8]
	add	x1, x10, x22
	ldr	w2, [x9, #4]
	blr	x8
	ldr	x1, [x19, #8]
	ldr	w3, [x19, #48]
	mov	x0, x19
	mov	x2, x21
	bl	_decode_block
	tbnz	x0, #63, LBB0_15
; %bb.13:
	cbz	w20, LBB0_18
; %bb.14:
	ldr	x8, [x19, #32]
	ldr	w9, [x8, #12]
	ldr	x0, [x19, #8]
	ldr	w10, [x0]
	add	w9, w10, w9
	str	w9, [x0]
	b	LBB0_19
LBB0_15:
Lloh3:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
LBB0_16:
	ldr	x8, [sp, #24]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.17:
	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
LBB0_18:
	ldr	x8, [x19, #40]
	ldr	w9, [x8, #8]
	ldr	x0, [x19, #8]
	ldr	w10, [x0]
	add	w9, w10, w9
	str	w9, [x0]
	str	w9, [x8, #8]
	ldr	w9, [x0]
	ldr	x8, [x19, #32]
LBB0_19:
	str	w9, [x8, #12]
	ldr	w8, [x19, #24]
	ldr	w9, [x0]
	mul	w8, w9, w8
	str	w8, [x0]
	bl	_clv_dct
	ldp	x0, x8, [x19, #8]
	ldr	x9, [x19]
	ldp	x9, x10, [x9]
	ldr	x10, [x10, #16]
	add	x1, x10, x22
	ldr	w2, [x9, #8]
	blr	x8
	mov	w0, #0
	b	LBB0_16
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_decode_mb
.subsections_via_symbols
