	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TIFFGrowStrips
_TIFFGrowStrips:                        ## @TIFFGrowStrips
	.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	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	_PLANARCONFIG_CONTIG@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movq	32(%rbx), %rdi
	movl	16(%rbx), %esi
	addl	%r15d, %esi
	shll	$2, %esi
	callq	__TIFFrealloc
	movq	%rax, %r12
	movq	24(%rbx), %rdi
	movl	16(%rbx), %esi
	addl	%r15d, %esi
	shll	$2, %esi
	callq	__TIFFrealloc
	movq	%rax, %r13
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	testq	%r13, %r13
	je	LBB0_2
## %bb.7:
	movq	%r12, 32(%rbx)
	movq	%r13, 24(%rbx)
	movslq	16(%rbx), %rax
	leaq	(%r12,%rax,4), %rdi
	leal	(,%r15,4), %r14d
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	__TIFFmemset
	movslq	16(%rbx), %rdi
	shlq	$2, %rdi
	addq	24(%rbx), %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	__TIFFmemset
	addl	%r15d, 16(%rbx)
	movq	_TIFF_DIRTYDIRECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movl	$1, %eax
	jmp	LBB0_8
LBB0_2:
	testq	%r12, %r12
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	__TIFFfree
LBB0_4:
	testq	%r13, %r13
	je	LBB0_6
## %bb.5:
	movq	%r13, %rdi
	callq	__TIFFfree
LBB0_6:
	movl	$0, 16(%rbx)
	movl	4(%rbx), %edi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rsi
	callq	_TIFFErrorExt
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PLANARCONFIG_CONTIG,8,3        ## @PLANARCONFIG_CONTIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No space to expand strip arrays"

	.comm	_TIFF_DIRTYDIRECT,4,2           ## @TIFF_DIRTYDIRECT
	.no_dead_strip	_TIFFGrowStrips
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TIFFGrowStrips
_TIFFGrowStrips:                        ; @TIFFGrowStrips
	.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, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _PLANARCONFIG_CONTIG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PLANARCONFIG_CONTIG@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldr	x0, [x19, #32]
	ldr	w8, [x19, #16]
	add	w8, w8, w21
	lsl	w1, w8, #2
	bl	__TIFFrealloc
	mov	x22, x0
	ldr	x0, [x19, #24]
	ldr	w8, [x19, #16]
	add	w8, w8, w21
	lsl	w1, w8, #2
	bl	__TIFFrealloc
	mov	x23, x0
	cmp	x22, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_6
; %bb.1:
	cbz	x22, LBB0_3
; %bb.2:
	mov	x0, x22
	bl	__TIFFfree
LBB0_3:
	cbz	x23, LBB0_5
; %bb.4:
	mov	x0, x23
	bl	__TIFFfree
LBB0_5:
	str	wzr, [x19, #16]
	ldr	w0, [x19, #4]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x20
	bl	_TIFFErrorExt
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	stp	x23, x22, [x19, #24]
	ldrsw	x8, [x19, #16]
	add	x0, x22, x8, lsl #2
	lsl	w20, w21, #2
	mov	w1, #0
	mov	x2, x20
	bl	__TIFFmemset
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #16]
	add	x0, x8, x9, lsl #2
	mov	w1, #0
	mov	x2, x20
	bl	__TIFFmemset
	ldr	w8, [x19, #16]
	add	w8, w8, w21
Lloh5:
	adrp	x9, _TIFF_DIRTYDIRECT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TIFF_DIRTYDIRECT@GOTPAGEOFF]
	str	w8, [x19, #16]
Lloh7:
	ldr	w8, [x9]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	mov	w0, #1
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PLANARCONFIG_CONTIG,8,3        ; @PLANARCONFIG_CONTIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No space to expand strip arrays"

	.comm	_TIFF_DIRTYDIRECT,4,2           ; @TIFF_DIRTYDIRECT
	.no_dead_strip	_TIFFGrowStrips
.subsections_via_symbols
