	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function decode_argb_frame
LCPI0_0:
	.long	0                               ## 0x0
	.long	128                             ## 0x80
	.long	128                             ## 0x80
	.long	128                             ## 0x80
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_decode_argb_frame:                     ## @decode_argb_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	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,128,128,128]
	movaps	%xmm0, -112(%rbp)
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	8(%rdx), %rax
	movq	(%rax), %r14
	movq	%rsi, %rdi
	movl	$16, %esi
	callq	_skip_bits
	leaq	-64(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_read_code_table
	testl	%eax, %eax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	js	LBB0_1
## %bb.5:
	leaq	-60(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_read_code_table
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_read_code_table
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:
	leaq	-52(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_read_code_table
	testl	%eax, %eax
	js	LBB0_10
## %bb.11:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	jle	LBB0_12
## %bb.15:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	leaq	-112(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movq	%r14, %r8
	callq	_read_argb_line
	movq	(%r15), %rax
	movslq	(%rax), %rax
	leaq	(%r14,%rax,4), %r14
	incl	%r13d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rax), %r13d
	jl	LBB0_16
LBB0_12:
	leaq	-64(%rbp), %rdi
	callq	_ff_free_vlc
	leaq	-60(%rbp), %rdi
	callq	_ff_free_vlc
	leaq	-56(%rbp), %rdi
	callq	_ff_free_vlc
	leaq	-52(%rbp), %rdi
	callq	_ff_free_vlc
	xorl	%r13d, %r13d
	jmp	LBB0_13
LBB0_1:
	movl	%eax, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_2
LBB0_6:
	movl	%eax, %r13d
	movl	$1, %r14d
	jmp	LBB0_2
LBB0_8:
	movl	%eax, %r13d
	movl	$2, %r14d
	jmp	LBB0_2
LBB0_10:
	movl	%eax, %r13d
	movl	$3, %r14d
LBB0_2:
	leal	1(%r14), %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_ff_free_vlc
	addq	$4, %r15
	decq	%rbx
	jne	LBB0_3
## %bb.4:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	%r14d, %ecx
	callq	_av_log
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.17:
	movl	%r13d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not read code table %d.\n"

	.no_dead_strip	_decode_argb_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function decode_argb_frame
lCPI0_0:
	.long	0                               ; 0x0
	.long	128                             ; 0x80
	.long	128                             ; 0x80
	.long	128                             ; 0x80
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_decode_argb_frame:                     ; @decode_argb_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	x20, x2
	mov	x21, 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, #40]
	ldr	x28, [x0]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp]
	ldr	x8, [x2, #8]
	ldr	x22, [x8]
	mov	x0, x1
	mov	w1, #16
	bl	_skip_bits
	add	x23, sp, #24
	add	x2, sp, #24
	mov	x0, x19
	mov	x1, x21
	bl	_read_code_table
	mov	x26, x0
	tbnz	w0, #31, LBB0_8
; %bb.1:
	add	x24, x23, #4
	mov	x0, x19
	mov	x1, x21
	mov	x2, x24
	bl	_read_code_table
	tbnz	w0, #31, LBB0_9
; %bb.2:
	add	x27, sp, #24
	add	x25, x27, #8
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	bl	_read_code_table
	tbnz	w0, #31, LBB0_10
; %bb.3:
	add	x27, x27, #12
	mov	x0, x19
	mov	x1, x21
	mov	x2, x27
	bl	_read_code_table
	tbnz	w0, #31, LBB0_11
; %bb.4:
	ldr	w8, [x28]
	cmp	w8, #0
	b.le	LBB0_7
; %bb.5:
	mov	w23, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x2, sp
	add	x3, sp, #24
	mov	x0, x19
	mov	x1, x21
	mov	x4, x22
	bl	_read_argb_line
	ldr	x8, [x20]
	ldrsw	x8, [x8]
	add	x22, x22, x8, lsl #2
	add	w23, w23, #1
	ldr	w8, [x28]
	cmp	w23, w8
	b.lt	LBB0_6
LBB0_7:
	add	x0, sp, #24
	bl	_ff_free_vlc
	mov	x0, x24
	bl	_ff_free_vlc
	mov	x0, x25
	bl	_ff_free_vlc
	mov	x0, x27
	bl	_ff_free_vlc
	mov	w23, #0
	b	LBB0_17
LBB0_8:
	mov	w20, #0
	mov	x23, x26
	b	LBB0_12
LBB0_9:
	mov	x23, x0
	mov	w20, #1
	b	LBB0_12
LBB0_10:
	mov	x23, x0
	mov	w20, #2
	b	LBB0_12
LBB0_11:
	mov	x23, x0
	mov	w20, #3
LBB0_12:
	add	x22, sp, #24
	add	x0, sp, #24
	bl	_ff_free_vlc
	tbnz	w26, #31, LBB0_16
; %bb.13:
	add	w21, w20, #1
	add	x0, x22, #4
	bl	_ff_free_vlc
	cmp	w21, #2
	b.eq	LBB0_16
; %bb.14:
	add	x22, sp, #24
	add	x0, x22, #8
	bl	_ff_free_vlc
	cmp	w21, #3
	b.eq	LBB0_16
; %bb.15:
	add	x0, x22, #12
	bl	_ff_free_vlc
LBB0_16:
	ldr	x0, [x19]
Lloh5:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x20
	bl	_av_log
LBB0_17:
	ldr	x8, [sp, #40]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x23
	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_19:
	bl	___stack_chk_fail
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not read code table %d.\n"

	.no_dead_strip	_decode_argb_frame
.subsections_via_symbols
