	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ft_lzwstate_prefix_grow
_ft_lzwstate_prefix_grow:               ## @ft_lzwstate_prefix_grow
	.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
	movslq	(%rdi), %rbx
	movl	%ebx, %eax
	sarl	$2, %eax
	addl	%ebx, %eax
	testq	%rbx, %rbx
	movl	$512, %r15d                     ## imm = 0x200
	cmovnel	%eax, %r15d
	movq	8(%rdi), %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	$8, %ecx
	callq	_FT_REALLOC_MULT
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_2
## %bb.1:
	movq	8(%r14), %rsi
	movslq	%r15d, %rdi
	addq	%rsi, %rdi
	movq	%rdi, 16(%r14)
	addq	%rbx, %rsi
	leal	(,%rbx,4), %edx
	callq	_FT_MEM_MOVE
	movl	%r15d, (%r14)
	xorl	%eax, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ft_lzwstate_prefix_grow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ft_lzwstate_prefix_grow
_ft_lzwstate_prefix_grow:               ; @ft_lzwstate_prefix_grow
	.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
	ldr	w21, [x0]
	add	w8, w21, w21, asr #2
	mov	w9, #512
	cmp	w21, #0
	csel	w20, w9, w8, eq
	ldr	x0, [x0, #8]
	mov	x1, x21
	mov	x2, x20
	mov	w3, #8
	bl	_FT_REALLOC_MULT
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_3
LBB0_2:
	sxtw	x8, w21
	ldr	x9, [x19, #8]
	add	x0, x9, w20, sxtw
	str	x0, [x19, #16]
	add	x1, x9, x8
	lsl	w2, w8, #2
	bl	_FT_MEM_MOVE
	mov	w0, #0
	str	w20, [x19]
LBB0_3:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ft_lzwstate_prefix_grow
.subsections_via_symbols
