	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_block_progressive
_decode_block_progressive:              ## @decode_block_progressive
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	32(%rbp), %r13
	movl	(%r13), %eax
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	decl	%eax
	movl	%eax, (%r13)
	jmp	LBB0_4
LBB0_2:
	movl	%r9d, %r14d
	movl	%ecx, %r12d
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movq	_re@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_OPEN_READER
	movq	_re@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_UPDATE_CACHE
	movq	_re@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	16(%rbx), %rax
	movq	16(%rax), %rax
	movslq	%r12d, %rcx
	movl	(%rax,%rcx,4), %ecx
	xorl	%edi, %edi
	movq	%rbx, %rdx
	movl	$9, %r8d
	movl	$2, %r9d
	callq	_GET_VLC
	movl	$0, (%r13)
	movq	_re@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_CLOSE_READER
	cmpl	%r14d, (%r15)
	jge	LBB0_4
## %bb.3:
	movl	%r14d, (%r15)
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_re,4,2                         ## @re
	.comm	_MIN_CACHE_BITS,4,2             ## @MIN_CACHE_BITS
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_decode_block_progressive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_block_progressive
_decode_block_progressive:              ; @decode_block_progressive
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x23, [x29, #16]
	ldr	w8, [x23]
	cbz	w8, LBB0_2
; %bb.1:
	sub	w8, w8, #1
	str	w8, [x23]
	b	LBB0_4
LBB0_2:
	mov	x19, x5
	mov	x22, x3
	mov	x20, x2
	mov	x21, x0
Lloh0:
	adrp	x24, _re@GOTPAGE
Lloh1:
	ldr	x24, [x24, _re@GOTPAGEOFF]
	ldr	w0, [x24]
	mov	x1, x21
	bl	_OPEN_READER
	ldr	w0, [x24]
	mov	x1, x21
	bl	_UPDATE_CACHE
	ldr	w1, [x24]
	ldr	x8, [x21, #16]
	ldr	x8, [x8, #16]
	ldr	w3, [x8, w22, sxtw #2]
	mov	w0, #0
	mov	x2, x21
	mov	w4, #9
	mov	w5, #2
	bl	_GET_VLC
	str	wzr, [x23]
	ldr	w0, [x24]
	mov	x1, x21
	bl	_CLOSE_READER
	ldr	w8, [x20]
	cmp	w8, w19
	b.ge	LBB0_4
; %bb.3:
	str	w19, [x20]
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_re,4,2                         ; @re
	.comm	_MIN_CACHE_BITS,4,2             ; @MIN_CACHE_BITS
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_decode_block_progressive
.subsections_via_symbols
