	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fic_decode_block
_fic_decode_block:                      ## @fic_decode_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r12
	movl	%ecx, %r15d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_get_bits_left
	cmpl	$7, %eax
	jg	LBB0_2
LBB0_1:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_11
LBB0_2:
	movq	%rbx, %rdi
	callq	_get_bits1
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	$1, (%r14)
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movq	%rbx, %rdi
	movl	$7, %esi
	callq	_get_bits
	cmpl	$64, %eax
	jg	LBB0_1
## %bb.5:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_9
## %bb.6:
	movl	%eax, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_get_se_golomb
                                        ## kill: def $eax killed $eax def $rax
	leal	-2049(%rax), %ecx
	cmpl	$-4098, %ecx                    ## imm = 0xEFFE
	jbe	LBB0_1
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r13), %rcx
	movq	_ff_zigzag_direct@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx,%r15,8), %rdx
	imull	(%rcx,%rdx,4), %eax
	movl	%eax, (%r12,%rdx,4)
	incq	%r15
	cmpq	%r15, %r14
	jne	LBB0_7
LBB0_9:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r12, %rdx
	callq	_fic_idct_put
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_ff_zigzag_direct,8,3           ## @ff_zigzag_direct
	.no_dead_strip	_fic_decode_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fic_decode_block
_fic_decode_block:                      ; @fic_decode_block
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x24, x5
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	x0, x1
	bl	_get_bits_left
	cmp	w0, #7
	b.gt	LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_4
LBB0_2:
	mov	x0, x22
	bl	_get_bits1
	cbz	x0, LBB0_5
; %bb.3:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x24]
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	mov	x0, x22
	mov	w1, #7
	bl	_get_bits
	cmp	w0, #64
	b.gt	LBB0_1
; %bb.6:
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.7:
	mov	x24, #0
	mov	w8, w0
	lsl	x25, x8, #3
	mov	w26, #-4098
Lloh3:
	adrp	x27, _ff_zigzag_direct@GOTPAGE
Lloh4:
	ldr	x27, [x27, _ff_zigzag_direct@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_get_se_golomb
	sub	w8, w0, #2049
	cmp	w8, w26
	b.ls	LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x23]
	ldr	x9, [x27]
	ldr	x9, [x9, x24]
	lsl	x9, x9, #2
	ldr	w8, [x8, x9]
	mul	w8, w8, w0
	str	w8, [x19, x9]
	add	x24, x24, #8
	cmp	x25, x24
	b.ne	LBB0_8
LBB0_10:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_fic_idct_put
	mov	w0, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_ff_zigzag_direct,8,3           ; @ff_zigzag_direct
	.no_dead_strip	_fic_decode_block
.subsections_via_symbols
