	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lzw_get_code
_lzw_get_code:                          ## @lzw_get_code
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	cmpq	8(%rdi), %rax
	jge	LBB0_3
## %bb.1:
	leaq	44(%r14), %rdi
	callq	_bytestream2_get_bytes_left
	testq	%rax, %rax
	jle	LBB0_2
LBB0_3:
	movq	24(%r14), %rdx
	movq	_FF_LZW_GIF@GOTPCREL(%rip), %rsi
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	cmpq	(%rsi), %rdx
	jne	LBB0_4
## %bb.6:
	cmpq	%rcx, %rax
	jge	LBB0_7
## %bb.8:
	leaq	44(%r14), %r15
	movl	32(%r14), %edx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	callq	_bytestream2_get_byte
	movl	%eax, %ebx
	movq	(%r14), %rax
	movl	%eax, %ecx
	shll	%cl, %ebx
	orl	36(%r14), %ebx
	movq	8(%r14), %rcx
	movl	%ebx, 36(%r14)
	addq	$8, %rax
	movq	%rax, (%r14)
	movl	32(%r14), %edx
	decl	%edx
	movl	%edx, 32(%r14)
	cmpq	%rcx, %rax
	jge	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	testl	%edx, %edx
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	callq	_bytestream2_get_byte
	movl	%eax, 32(%r14)
	jmp	LBB0_11
LBB0_4:
	cmpq	%rcx, %rax
	jge	LBB0_5
## %bb.13:
	leaq	44(%r14), %r15
	movl	36(%r14), %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	shll	$8, %ebx
	movq	%r15, %rdi
	callq	_bytestream2_get_byte
	orl	%eax, %ebx
	movl	%ebx, 36(%r14)
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	addq	$8, %rax
	movq	%rax, (%r14)
	cmpq	%rcx, %rax
	jl	LBB0_14
	jmp	LBB0_15
LBB0_2:
	movl	16(%r14), %ebx
	jmp	LBB0_17
LBB0_7:
	movl	36(%r14), %ebx
LBB0_12:
	movl	%ebx, %edx
	sarl	%cl, %edx
	movl	%edx, 36(%r14)
	subq	%rcx, %rax
	jmp	LBB0_16
LBB0_5:
	movl	36(%r14), %ebx
LBB0_15:
	subq	%rcx, %rax
	movl	%eax, %ecx
	sarl	%cl, %ebx
LBB0_16:
	movq	%rax, (%r14)
	andl	40(%r14), %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_LZW_GIF,8,3                 ## @FF_LZW_GIF
	.no_dead_strip	_lzw_get_code
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lzw_get_code
_lzw_get_code:                          ; @lzw_get_code
	.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	x19, x0
	ldp	x8, x9, [x0]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	add	x0, x19, #44
	bl	_bytestream2_get_bytes_left
	cmp	x0, #0
	b.le	LBB0_11
LBB0_2:
	ldr	x10, [x19, #24]
Lloh0:
	adrp	x8, _FF_LZW_GIF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FF_LZW_GIF@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x8]
	ldp	x9, x8, [x19]
	cmp	x10, x11
	b.ne	LBB0_8
; %bb.3:
	cmp	x9, x8
	b.ge	LBB0_12
; %bb.4:
	add	x20, x19, #44
	ldr	w11, [x19, #32]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_byte
	ldp	x9, x8, [x19]
	lsl	w10, w0, w9
	ldp	w12, w11, [x19, #32]
	orr	w10, w10, w11
	add	x9, x9, #8
	str	x9, [x19]
	sub	w11, w12, #1
	stp	w11, w10, [x19, #32]
	cmp	x9, x8
	b.ge	LBB0_13
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	w11, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_byte
	str	w0, [x19, #32]
	b	LBB0_5
LBB0_8:
	cmp	x9, x8
	b.ge	LBB0_14
; %bb.9:
	add	x20, x19, #44
	ldr	w21, [x19, #36]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_bytestream2_get_byte
	orr	w21, w0, w21, lsl #8
	str	w21, [x19, #36]
	ldp	x9, x8, [x19]
	add	x9, x9, #8
	str	x9, [x19]
	cmp	x9, x8
	b.lt	LBB0_10
	b	LBB0_15
LBB0_11:
	ldr	w0, [x19, #16]
	b	LBB0_17
LBB0_12:
	ldr	w10, [x19, #36]
LBB0_13:
	asr	w11, w10, w8
	str	w11, [x19, #36]
	sub	x8, x9, x8
	b	LBB0_16
LBB0_14:
	ldr	w21, [x19, #36]
LBB0_15:
	sub	x8, x9, x8
	asr	w10, w21, w8
LBB0_16:
	str	x8, [x19]
	ldr	w8, [x19, #40]
	and	w0, w8, w10
LBB0_17:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_LZW_GIF,8,3                 ; @FF_LZW_GIF
	.no_dead_strip	_lzw_get_code
.subsections_via_symbols
