	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_frame
_decode_frame:                          ## @decode_frame
	.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
	movq	%rdi, %r12
	movl	(%rdi), %eax
	testb	$3, %al
	je	LBB0_3
## %bb.1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_2
LBB0_3:
	movq	%rsi, %r14
	movl	8(%rcx), %esi
	imull	4(%r12), %eax
	cmpl	%eax, %esi
	jge	LBB0_5
## %bb.4:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_2:
	movq	%r12, %rdi
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_15:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	(%rcx), %rbx
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_15
## %bb.6:
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movl	$1, (%r14)
	movl	4(%r12), %r10d
	testl	%r10d, %r10d
	jle	LBB0_14
## %bb.7:
	movslq	(%r12), %rax
	movq	%rax, %rdx
	addq	$-4, %rdx
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	8(%r14), %rdx
	movq	16(%rdx), %rdi
	movq	(%rdx), %r8
	movq	8(%rdx), %r9
	xorl	%ecx, %ecx
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	4(%r12), %r10d
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movslq	%eax, %rdx
	leaq	(%rbx,%rdx,4), %rbx
	addq	$16, %rbx
	movq	16(%r14), %rdx
	movslq	(%rdx), %rsi
	leaq	(%r8,%rsi,4), %r8
	movslq	4(%rdx), %rsi
	leaq	(%r9,%rsi,4), %r9
	movslq	8(%rdx), %rdx
	leaq	(%rdi,%rdx,4), %rdi
	incl	%ecx
	cmpl	%r10d, %ecx
	jge	LBB0_14
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rbx,%rdx,4), %rbx
	testl	%eax, %eax
	jle	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	callq	_AV_RL32
	movq	_xl_table@GOTPCREL(%rip), %rcx
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movl	%eax, %r14d
	addq	$-16, %rbx
	roll	$16, %r14d
	leal	(,%r14,4), %eax
	movq	(%rcx), %rcx
	movl	%r14d, %edx
	shrl	$5, %edx
	andl	$31, %edx
	movl	%r14d, %esi
	shrl	$10, %esi
	andl	$31, %esi
	movl	%r14d, %edi
	shrl	$16, %edi
	andl	$31, %edi
	movl	%r14d, %r15d
	shrl	$19, %r15d
	andl	$124, %r15d
	shrl	$24, %r14d
	andl	$124, %r14d
	andl	$124, %eax
	movd	%eax, %xmm0
	addl	(%rcx,%rdx,4), %eax
	movl	(%rcx,%rsi,4), %edx
	addl	%eax, %edx
	movl	(%rcx,%rdi,4), %r13d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	addl	%edx, %r13d
	pinsrd	$1, %eax, %xmm0
	pinsrd	$2, %edx, %xmm0
	pinsrd	$3, %r13d, %xmm0
	paddd	%xmm0, %xmm0
	movdqu	%xmm0, (%r8)
	leal	(%r15,%r15), %eax
	movl	%eax, (%r9)
	leal	(%r14,%r14), %eax
	movl	%eax, (%rdi)
	movl	(%r12), %eax
	cmpl	$5, %eax
	jl	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	$4, %r12d
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	_AV_RL32
	movq	_xl_table@GOTPCREL(%rip), %rcx
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	roll	$16, %eax
	movq	(%rcx), %rcx
	movl	%eax, %esi
	movl	%eax, %edi
	movl	%eax, %edx
	movq	%rbx, %r10
	movl	%eax, %ebx
	shrl	$21, %ebx
	andl	$31, %ebx
	addl	(%rcx,%rbx,4), %r15d
	movl	%eax, %ebx
	shrl	$26, %eax
	andl	$31, %eax
	addl	(%rcx,%rax,4), %r14d
	andl	$31, %esi
	addl	(%rcx,%rsi,4), %r13d
	shrl	$5, %edi
	andl	$31, %edi
	movl	(%rcx,%rdi,4), %eax
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	addl	%r13d, %eax
	movd	%r13d, %xmm0
	shrl	$10, %edx
	andl	$31, %edx
	movl	(%rcx,%rdx,4), %edx
	addl	%eax, %edx
	pinsrd	$1, %eax, %xmm0
	shrl	$16, %ebx
	andl	$31, %ebx
	movl	(%rcx,%rbx,4), %r13d
	movq	%r10, %rbx
	addq	$-16, %rbx
	pinsrd	$2, %edx, %xmm0
	addl	%edx, %r13d
	pinsrd	$3, %r13d, %xmm0
	paddd	%xmm0, %xmm0
	movdqu	%xmm0, (%r8,%r12,4)
	leal	(%r15,%r15), %eax
	movl	%eax, (%r9,%r12)
	leal	(%r14,%r14), %eax
	movl	%eax, (%rdi,%r12)
	addq	$4, %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	cmpl	%r12d, %eax
	jg	LBB0_11
	jmp	LBB0_12
LBB0_14:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"width is not a multiple of 4\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.1:                               ## @.str.1
	.asciz	"Packet is too small\n"

	.comm	_AV_PICTURE_TYPE_I,4,2          ## @AV_PICTURE_TYPE_I
	.comm	_xl_table,8,3                   ## @xl_table
	.no_dead_strip	_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_frame
_decode_frame:                          ; @decode_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x0
	ldr	w8, [x0]
	tst	w8, #0x3
	b.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	ldr	w21, [x3, #8]
	ldr	w9, [x19, #4]
	mul	w8, w9, w8
	cmp	w21, w8
	b.ge	LBB0_6
; %bb.3:
Lloh5:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_av_log
Lloh10:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_6:
	mov	x22, x2
	mov	x25, x1
	ldr	x20, [x3]
	mov	x0, x19
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_5
; %bb.7:
	str	x22, [sp]                       ; 8-byte Folded Spill
	str	w21, [sp, #12]                  ; 4-byte Folded Spill
Lloh13:
	adrp	x8, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x25, #24]
	mov	w8, #1
	str	w8, [x25]
	ldr	w9, [x19, #4]
	cmp	w9, #1
	b.lt	LBB0_17
; %bb.8:
	mov	w21, #0
	ldr	w8, [x19]
	sub	w10, w8, #4
	ldr	x11, [x25, #8]
	ldp	x27, x26, [x11, #8]
	ldr	x13, [x11]
	sxtw	x10, w10
	str	x10, [sp, #32]                  ; 8-byte Folded Spill
Lloh16:
	adrp	x15, _xl_table@GOTPAGE
Lloh17:
	ldr	x15, [x15, _xl_table@GOTPAGEOFF]
	str	x25, [sp, #16]                  ; 8-byte Folded Spill
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=1
	mov	x15, x28
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w9, [x19, #4]
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	w10, w8, #4
	add	x20, x23, w10, sxtw #2
	ldr	x10, [x25, #16]
	ldpsw	x11, x12, [x10]
	add	x13, x13, x11, lsl #2
	add	x27, x27, x12, lsl #2
	ldrsw	x10, [x10, #8]
	add	x26, x26, x10, lsl #2
	add	w21, w21, #1
	cmp	w21, w9
	b.ge	LBB0_17
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
	add	x23, x20, x10, lsl #2
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x23
	mov	x28, x15
	str	x13, [sp, #40]                  ; 8-byte Folded Spill
	bl	_AV_RL32
	sub	x23, x23, #16
	ror	w8, w0, #16
	ubfiz	w9, w8, #2, #5
	ldr	x10, [x28]
	ubfx	w11, w8, #5, #5
	ldr	w11, [x10, w11, uxtw #2]
	ubfx	w12, w8, #10, #5
	ldr	w12, [x10, w12, uxtw #2]
	add	w11, w11, w9
	add	w12, w11, w12
	ubfx	w13, w8, #16, #5
	ldr	w10, [x10, w13, uxtw #2]
	ldr	x13, [sp, #40]                  ; 8-byte Folded Reload
	add	w22, w12, w10
	lsr	w10, w8, #19
	and	w20, w10, #0x7c
	lsr	w8, w8, #24
	and	w24, w8, #0x7c
	lsl	w8, w9, #1
	lsl	w9, w11, #1
	stp	w8, w9, [x13]
	lsl	w8, w12, #1
	lsl	w9, w22, #1
	stp	w8, w9, [x13, #8]
	lsl	w8, w20, #1
	str	w8, [x27]
	lsl	w8, w24, #1
	str	w8, [x26]
	ldr	w8, [x19]
	cmp	w8, #5
	b.lt	LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	str	w21, [sp, #28]                  ; 4-byte Folded Spill
	add	x21, x13, #28
	mov	w25, #4
LBB0_15:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	bl	_AV_RL32
	sub	x23, x23, #16
	ror	w8, w0, #16
	ldr	x9, [x28]
	and	w10, w8, #0x1f
	ldr	w10, [x9, w10, uxtw #2]
	ubfx	w11, w8, #5, #5
	ldr	w11, [x9, w11, uxtw #2]
	add	w10, w10, w22
	add	w11, w11, w10
	ubfx	w12, w8, #10, #5
	ldr	w12, [x9, w12, uxtw #2]
	ubfx	w13, w8, #16, #5
	ldr	w13, [x9, w13, uxtw #2]
	ubfx	w14, w8, #21, #5
	ldr	w14, [x9, w14, uxtw #2]
	add	w12, w11, w12
	add	w22, w12, w13
	add	w20, w14, w20
	ubfx	w8, w8, #26, #5
	ldr	w8, [x9, w8, uxtw #2]
	add	w24, w8, w24
	lsl	w8, w10, #1
	lsl	w9, w11, #1
	stp	w8, w9, [x21, #-12]
	lsl	w10, w12, #1
	lsl	w8, w22, #1
	stp	w10, w8, [x21, #-4]
	lsl	w8, w20, #1
	str	w8, [x27, x25]
	lsl	w8, w24, #1
	str	w8, [x26, x25]
	add	x25, x25, #4
	ldr	w8, [x19]
	add	x21, x21, #16
	cmp	w8, w25
	b.gt	LBB0_15
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x15, x28
	ldr	x25, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w21, [sp, #28]                  ; 4-byte Folded Reload
	ldr	x13, [sp, #40]                  ; 8-byte Folded Reload
	b	LBB0_10
LBB0_17:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	mov	w9, #1
	str	w9, [x8]
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	b	LBB0_5
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"width is not a multiple of 4\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.1:                               ; @.str.1
	.asciz	"Packet is too small\n"

	.comm	_AV_PICTURE_TYPE_I,4,2          ; @AV_PICTURE_TYPE_I
	.comm	_xl_table,8,3                   ; @xl_table
	.no_dead_strip	_decode_frame
.subsections_via_symbols
