	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_alpha_block
_decode_alpha_block:                    ## @decode_alpha_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	%r14
	pushq	%rbx
	subq	$528, %rsp                      ## imm = 0x210
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	leaq	-544(%rbp), %rdi
	xorl	%esi, %esi
	movl	$512, %edx                      ## imm = 0x200
	callq	_memset
	movq	_re@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_OPEN_READER
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_UPDATE_CACHE_LE
	movl	(%r14), %esi
	movq	_ff_dc_alpha_run_vlc_le@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ALPHA_VLC_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdx
	movl	$2, %r9d
	callq	_GET_VLC
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$528, %rsp                      ## imm = 0x210
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_re,4,2                         ## @re
	.comm	_ff_dc_alpha_run_vlc_le,4,2     ## @ff_dc_alpha_run_vlc_le
	.comm	_ALPHA_VLC_BITS,4,2             ## @ALPHA_VLC_BITS
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_ff_dc_alpha_level_vlc_le,4,2   ## @ff_dc_alpha_level_vlc_le
	.no_dead_strip	_decode_alpha_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_alpha_block
_decode_alpha_block:                    ; @decode_alpha_block
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w27, -40
	.cfi_offset w28, -48
	sub	sp, sp, #528
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #512
	bl	_memset
Lloh3:
	adrp	x20, _re@GOTPAGE
Lloh4:
	ldr	x20, [x20, _re@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x19
	bl	_OPEN_READER
	ldr	w0, [x20]
	mov	x1, x19
	bl	_UPDATE_CACHE_LE
	ldr	w1, [x20]
Lloh5:
	adrp	x8, _ff_dc_alpha_run_vlc_le@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ff_dc_alpha_run_vlc_le@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	adrp	x8, _ALPHA_VLC_BITS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ALPHA_VLC_BITS@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
	mov	x2, x19
	mov	w5, #2
	bl	_GET_VLC
Lloh11:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldur	x8, [x29, #-40]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	add	sp, sp, #528
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_re,4,2                         ; @re
	.comm	_ff_dc_alpha_run_vlc_le,4,2     ; @ff_dc_alpha_run_vlc_le
	.comm	_ALPHA_VLC_BITS,4,2             ; @ALPHA_VLC_BITS
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_ff_dc_alpha_level_vlc_le,4,2   ; @ff_dc_alpha_level_vlc_le
	.no_dead_strip	_decode_alpha_block
.subsections_via_symbols
