	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_block
_get_block:                             ## @get_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	$8, %esi
	callq	_get_bits
	movl	%eax, %r14d
	xorl	%eax, %eax
	cmpl	$255, %r14d
	je	LBB0_14
## %bb.1:
	movq	%rbx, %rdi
	movl	$6, %esi
	callq	_get_bits
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_get_bits_left
	leal	(%r15,%r15), %ecx
	cmpl	%ecx, %eax
	jl	LBB0_2
## %bb.3:
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	testl	%r15d, %r15d
	je	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_get_sbits
	cmpl	$-2, %eax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %edi
	callq	_PUT_COEFF
	jmp	LBB0_5
LBB0_6:
	movl	$4, %edi
	callq	_ALIGN
	movq	%rbx, %rdi
	callq	_get_bits_left
	leal	(,%r15,4), %ecx
	cmpl	%ecx, %eax
	jl	LBB0_2
## %bb.7:
	testl	%r15d, %r15d
	je	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_get_sbits
	cmpl	$-8, %eax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	movl	%eax, %edi
	callq	_PUT_COEFF
	jmp	LBB0_9
LBB0_10:
	movl	$8, %edi
	callq	_ALIGN
	movq	%rbx, %rdi
	callq	_get_bits_left
	leal	(,%r15,8), %ecx
	cmpl	%ecx, %eax
	jge	LBB0_11
LBB0_2:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	testl	%r15d, %r15d
	je	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_get_sbits
	movl	%eax, %edi
	callq	_PUT_COEFF
	jmp	LBB0_12
LBB0_13:
	movl	%r14d, %edi
	callq	_PUT_COEFF
	movl	$1, %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_get_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_block
_get_block:                             ; @get_block
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	mov	x22, x1
	mov	x19, x0
	mov	w1, #8
	bl	_get_bits
	cmp	w0, #255
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_12
LBB0_2:
	mov	x20, x0
	mov	x0, x19
	mov	w1, #6
	bl	_get_bits
	mov	x21, x0
	mov	x0, x19
	bl	_get_bits_left
	cmp	w0, w21, lsl #1
	b.lt	LBB0_11
; %bb.3:
	mov	x0, x22
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	cbz	w21, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #2
	bl	_get_sbits
	cmn	w0, #2
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_PUT_COEFF
	b	LBB0_4
LBB0_6:
	mov	w0, #4
	bl	_ALIGN
	mov	x0, x19
	bl	_get_bits_left
	cmp	w0, w21, lsl #2
	b.lt	LBB0_11
; %bb.7:
	cbz	w21, LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #4
	bl	_get_sbits
	cmn	w0, #8
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_PUT_COEFF
	b	LBB0_8
LBB0_10:
	mov	w0, #8
	bl	_ALIGN
	mov	x0, x19
	bl	_get_bits_left
	cmp	w0, w21, lsl #3
	b.ge	LBB0_13
LBB0_11:
Lloh0:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_13:
	cbz	w21, LBB0_15
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #8
	bl	_get_sbits
	bl	_PUT_COEFF
	b	LBB0_14
LBB0_15:
	mov	x0, x20
	bl	_PUT_COEFF
	mov	w0, #1
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_get_block
.subsections_via_symbols
