	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_fint
_decode_fint:                           ## @decode_fint
	.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	%rdi, %r14
	movq	16(%rdi), %r12
	leaq	24(%r12), %r13
	movq	%r13, %rdi
	callq	_bytestream2_peek_le32
	cmpl	$101, %eax
	jne	LBB0_6
## %bb.1:
	movq	%r13, %rdi
	callq	_bytestream2_get_bytes_left
	cmpl	$71, %eax
	jle	LBB0_9
## %bb.2:
	movq	%r13, %rdi
	movl	$8, %esi
	callq	_bytestream2_skip
	movq	%r13, %rdi
	callq	_bytestream2_get_le32
	movl	%eax, %r15d
	movq	%r13, %rdi
	callq	_bytestream2_get_le32
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	movl	$30, %esi
	callq	_bytestream2_skip
	movq	%r13, %rdi
	callq	_bytestream2_get_le16
	movl	%eax, %ebx
	movq	%r13, %rdi
	movl	$24, %esi
	callq	_bytestream2_skip
	cmpl	$32, %ebx
	je	LBB0_11
## %bb.3:
	cmpl	$16, %ebx
	je	LBB0_12
## %bb.4:
	cmpl	$8, %ebx
	jne	LBB0_9
## %bb.5:
	movl	%r15d, %edi
	movl	$4, %esi
	callq	_FFALIGN
	movq	_AV_PIX_FMT_PAL8@GOTPCREL(%rip), %rcx
	movl	$1, %esi
	jmp	LBB0_13
LBB0_6:
	movq	8(%r12), %rsi
	movq	(%rsi), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.7:
	movq	16(%r12), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	callq	_clear_plane
	movq	16(%r12), %rsi
	movq	%r14, %rdi
	callq	_clear_plane
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_9:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	%r15d, %eax
	shll	$2, %eax
	movq	_AV_PIX_FMT_BGR0@GOTPCREL(%rip), %rcx
	movl	$4, %esi
	jmp	LBB0_13
LBB0_12:
	movl	%r15d, %eax
	addl	%r15d, %eax
	movq	_AV_PIX_FMT_RGB555LE@GOTPCREL(%rip), %rcx
	movl	$2, %esi
LBB0_13:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%eax, (%r12)
	movl	%esi, 4(%r12)
	movl	(%rcx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_ff_set_dimensions
	testl	%eax, %eax
	js	LBB0_19
## %bb.14:
	movl	%r15d, (%r14)
	movl	%ebx, 4(%r14)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r14)
	movq	%r14, %rdi
	callq	_init_frames
	testl	%eax, %eax
	js	LBB0_19
## %bb.15:
	movl	8(%r14), %eax
	movq	_AV_PIX_FMT_PAL8@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.16:
	movq	8(%r12), %rax
	movq	(%rax), %rax
	movq	8(%rax), %r14
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_bytestream2_get_le32
	orl	$-16777216, %eax                ## imm = 0xFF000000
	movl	%eax, (%r14,%rbx,4)
	incq	%rbx
	cmpq	$256, %rbx                      ## imm = 0x100
	jne	LBB0_17
	jmp	LBB0_10
LBB0_19:
	movl	%eax, %r15d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_PIX_FMT_PAL8,4,2            ## @AV_PIX_FMT_PAL8
	.comm	_AV_PIX_FMT_RGB555LE,4,2        ## @AV_PIX_FMT_RGB555LE
	.comm	_AV_PIX_FMT_BGR0,4,2            ## @AV_PIX_FMT_BGR0
	.no_dead_strip	_decode_fint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_fint
_decode_fint:                           ; @decode_fint
	.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
	mov	x20, x0
	ldr	x24, [x0, #16]
	add	x19, x24, #24
	mov	x0, x19
	bl	_bytestream2_peek_le32
	cmp	w0, #101
	b.ne	LBB0_6
; %bb.1:
	mov	x0, x19
	bl	_bytestream2_get_bytes_left
	cmp	w0, #71
	b.le	LBB0_10
; %bb.2:
	mov	x0, x19
	mov	w1, #8
	bl	_bytestream2_skip
	mov	x0, x19
	bl	_bytestream2_get_le32
	mov	x21, x0
	mov	x0, x19
	bl	_bytestream2_get_le32
	mov	x22, x0
	mov	x0, x19
	mov	w1, #30
	bl	_bytestream2_skip
	mov	x0, x19
	bl	_bytestream2_get_le16
	mov	x23, x0
	mov	x0, x19
	mov	w1, #24
	bl	_bytestream2_skip
	cmp	w23, #32
	b.eq	LBB0_12
; %bb.3:
	cmp	w23, #16
	b.eq	LBB0_13
; %bb.4:
	cmp	w23, #8
	b.ne	LBB0_10
; %bb.5:
	mov	x0, x21
	mov	w1, #4
	bl	_FFALIGN
	movi.2s	v0, #1
	mov.s	v0[0], w0
Lloh0:
	adrp	x8, _AV_PIX_FMT_PAL8@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_PIX_FMT_PAL8@GOTPAGEOFF]
	b	LBB0_14
LBB0_6:
	ldr	x1, [x24, #8]
	ldr	x8, [x1]
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.7:
	ldr	x8, [x24, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.8:
	mov	x0, x20
	bl	_clear_plane
	ldr	x1, [x24, #16]
	mov	x0, x20
	bl	_clear_plane
LBB0_9:
	mov	w0, #0
	b	LBB0_11
LBB0_10:
Lloh2:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
LBB0_11:
	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
LBB0_12:
	lsl	w8, w21, #2
	movi.2s	v0, #4
	mov.s	v0[0], w8
Lloh5:
	adrp	x8, _AV_PIX_FMT_BGR0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_PIX_FMT_BGR0@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
	lsl	w8, w21, #1
	movi.2s	v0, #2
	mov.s	v0[0], w8
Lloh7:
	adrp	x8, _AV_PIX_FMT_RGB555LE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_PIX_FMT_RGB555LE@GOTPAGEOFF]
LBB0_14:
	str	d0, [x24]
	ldr	w23, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_ff_set_dimensions
	tbnz	w0, #31, LBB0_11
; %bb.15:
	stp	w21, w22, [x20]
	str	w23, [x20, #8]
	mov	x0, x20
	bl	_init_frames
	tbnz	w0, #31, LBB0_11
; %bb.16:
	ldr	w8, [x20, #8]
Lloh9:
	adrp	x9, _AV_PIX_FMT_PAL8@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AV_PIX_FMT_PAL8@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.17:
	mov	x20, #0
	ldr	x8, [x24, #8]
	ldr	x8, [x8]
	ldr	x21, [x8, #8]
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_bytestream2_get_le32
	orr	w8, w0, #0xff000000
	str	w8, [x21, x20]
	add	x20, x20, #4
	cmp	x20, #1024
	b.ne	LBB0_18
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_PIX_FMT_PAL8,4,2            ; @AV_PIX_FMT_PAL8
	.comm	_AV_PIX_FMT_RGB555LE,4,2        ; @AV_PIX_FMT_RGB555LE
	.comm	_AV_PIX_FMT_BGR0,4,2            ; @AV_PIX_FMT_BGR0
	.no_dead_strip	_decode_fint
.subsections_via_symbols
