	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_lzw_decode_tail             ## -- Begin function ff_lzw_decode_tail
	.p2align	4, 0x90
_ff_lzw_decode_tail:                    ## @ff_lzw_decode_tail
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	movq	_FF_LZW_GIF@GOTPCREL(%rip), %rcx
	leaq	16(%rdi), %rbx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	%rdi, %r14
	cmpq	$0, 8(%rdi)
	jle	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_bytestream2_get_bytes_left
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rsi
	movq	%rbx, %rdi
	callq	_bytestream2_skip
	movq	%rbx, %rdi
	callq	_bytestream2_get_byte
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	jg	LBB0_2
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_bytestream2_get_bytes_left
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_bytestream2_skip
LBB0_5:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bytestream2_tell               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_LZW_GIF,8,3                 ## @FF_LZW_GIF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_lzw_decode_tail             ; -- Begin function ff_lzw_decode_tail
	.p2align	2
_ff_lzw_decode_tail:                    ; @ff_lzw_decode_tail
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x19], #16
Lloh0:
	adrp	x9, _FF_LZW_GIF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FF_LZW_GIF@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #8]
	cmp	x8, #1
	b.lt	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_bytestream2_get_bytes_left
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x20, #8]
	mov	x0, x19
	bl	_bytestream2_skip
	mov	x0, x19
	bl	_bytestream2_get_byte
	str	x0, [x20, #8]
	cmp	x0, #0
	b.gt	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_bytestream2_get_bytes_left
	mov	x1, x0
	mov	x0, x19
	bl	_bytestream2_skip
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bytestream2_tell
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_LZW_GIF,8,3                 ; @FF_LZW_GIF
.subsections_via_symbols
