	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TIFFVStripSize64               ## -- Begin function TIFFVStripSize64
	.p2align	4, 0x90
_TIFFVStripSize64:                      ## @TIFFVStripSize64
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpl	$-1, %esi
	jne	LBB0_2
## %bb.1:
	movl	8(%rbx), %r14d
LBB0_2:
	movq	16(%rbx), %rax
	movq	_PLANARCONFIG_CONTIG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.3:
	movq	24(%rbx), %rax
	movq	_PHOTOMETRIC_YCBCR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.4:
	movq	%rbx, %rdi
	callq	_isUpSampled
	testl	%eax, %eax
	je	LBB0_5
LBB0_16:
	movq	%rbx, %rdi
	callq	_TIFFScanlineSize64
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_17
## %bb.18:
	leaq	_TIFFVStripSize64.module(%rip), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__TIFFMultiply64                ## TAILCALL
LBB0_5:
	cmpl	$3, 32(%rbx)
	jne	LBB0_6
## %bb.7:
	movq	_TIFFTAG_YCBCRSUBSAMPLING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %rcx
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_TIFFGetFieldDefaulted
	movl	-56(%rbp), %ecx
	cmpl	$4, %ecx
	ja	LBB0_9
## %bb.8:
	movl	$22, %eax
	btl	%ecx, %eax
	jae	LBB0_9
## %bb.10:
	movl	-52(%rbp), %r15d
	cmpl	$4, %r15d
	ja	LBB0_12
## %bb.11:
	movl	$22, %eax
	btl	%r15d, %eax
	jae	LBB0_12
## %bb.13:
	imull	%ecx, %r15d
	addl	$2, %r15d
	movl	36(%rbx), %edi
	movl	%ecx, %esi
	callq	_TIFFhowmany_32
	movl	%eax, %r12d
	movl	-52(%rbp), %esi
	movl	%r14d, %edi
	callq	_TIFFhowmany_32
	movl	%eax, %r14d
	leaq	_TIFFVStripSize64.module(%rip), %r13
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movq	%r13, %rcx
	callq	__TIFFMultiply64
	movl	40(%rbx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r13, %rcx
	callq	__TIFFMultiply64
	movl	%eax, %edi
	callq	_TIFFhowmany8_64
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	movq	%r13, %rcx
	callq	__TIFFMultiply64
	movl	%eax, %ebx
	jmp	LBB0_14
LBB0_6:
	movl	(%rbx), %edi
	leaq	_TIFFVStripSize64.module(%rip), %rsi
	leaq	L_.str(%rip), %rdx
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_TIFFErrorExt
	jmp	LBB0_14
LBB0_9:
	movl	-52(%rbp), %r15d
LBB0_12:
	movl	(%rbx), %edi
	leaq	_TIFFVStripSize64.module(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	xorl	%ebx, %ebx
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_TIFFErrorExt
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.15:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @TIFFVStripSize64.module
_TIFFVStripSize64.module:
	.asciz	"TIFFVStripSize64"

	.comm	_PLANARCONFIG_CONTIG,8,3        ## @PLANARCONFIG_CONTIG
	.comm	_PHOTOMETRIC_YCBCR,8,3          ## @PHOTOMETRIC_YCBCR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid td_samplesperpixel value"

	.comm	_TIFFTAG_YCBCRSUBSAMPLING,4,2   ## @TIFFTAG_YCBCRSUBSAMPLING
L_.str.1:                               ## @.str.1
	.asciz	"Invalid YCbCr subsampling (%dx%d)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TIFFVStripSize64               ; -- Begin function TIFFVStripSize64
	.p2align	2
_TIFFVStripSize64:                      ; @TIFFVStripSize64
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	cmn	w1, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	w20, [x19, #8]
LBB0_2:
	ldr	x8, [x19, #16]
Lloh3:
	adrp	x9, _PLANARCONFIG_CONTIG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PLANARCONFIG_CONTIG@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x19, #24]
Lloh6:
	adrp	x9, _PHOTOMETRIC_YCBCR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PHOTOMETRIC_YCBCR@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_isUpSampled
	cbz	w0, LBB0_7
LBB0_5:
	mov	x0, x19
	bl	_TIFFScanlineSize64
	ldr	x8, [sp, #24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.6:
	mov	x2, x0
Lloh12:
	adrp	x3, _TIFFVStripSize64.module@PAGE
Lloh13:
	add	x3, x3, _TIFFVStripSize64.module@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	__TIFFMultiply64
LBB0_7:
	ldr	w8, [x19, #32]
	cmp	w8, #3
	b.ne	LBB0_13
; %bb.8:
Lloh14:
	adrp	x8, _TIFFTAG_YCBCRSUBSAMPLING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TIFFTAG_YCBCRSUBSAMPLING@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	add	x8, sp, #16
	add	x3, x8, #4
	add	x2, sp, #16
	mov	x0, x19
	bl	_TIFFGetFieldDefaulted
	ldr	w1, [sp, #16]
	cmp	w1, #4
	b.hi	LBB0_14
; %bb.9:
	mov	w8, #1
	lsl	w8, w8, w1
	mov	w9, #22
	tst	w8, w9
	b.eq	LBB0_14
; %bb.10:
	ldr	w9, [sp, #20]
	cmp	w9, #4
	b.hi	LBB0_15
; %bb.11:
	mov	w8, #1
	lsl	w8, w8, w9
	mov	w10, #22
	tst	w8, w10
	b.eq	LBB0_15
; %bb.12:
	orr	w8, wzr, #0x2
	madd	w21, w9, w1, w8
	ldr	w0, [x19, #36]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_TIFFhowmany_32
	mov	x22, x0
	ldr	w1, [sp, #20]
	mov	x0, x20
	bl	_TIFFhowmany_32
	mov	x20, x0
Lloh17:
	adrp	x23, _TIFFVStripSize64.module@PAGE
Lloh18:
	add	x23, x23, _TIFFVStripSize64.module@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x23
	bl	__TIFFMultiply64
	mov	x1, x0
	ldr	w2, [x19, #40]
	mov	x0, x19
	mov	x3, x23
	bl	__TIFFMultiply64
	bl	_TIFFhowmany8_64
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	mov	x3, x23
	bl	__TIFFMultiply64
	b	LBB0_17
LBB0_13:
	ldr	w0, [x19]
Lloh19:
	adrp	x1, _TIFFVStripSize64.module@PAGE
Lloh20:
	add	x1, x1, _TIFFVStripSize64.module@PAGEOFF
Lloh21:
	adrp	x2, l_.str@PAGE
Lloh22:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_16
LBB0_14:
	ldr	w9, [sp, #20]
LBB0_15:
	ldr	w0, [x19]
Lloh23:
	adrp	x8, _TIFFVStripSize64.module@PAGE
Lloh24:
	add	x8, x8, _TIFFVStripSize64.module@PAGEOFF
	stp	x1, x9, [sp]
Lloh25:
	adrp	x2, l_.str.1@PAGE
Lloh26:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, x8
LBB0_16:
	bl	_TIFFErrorExt
	mov	w0, #0
LBB0_17:
	ldr	x8, [sp, #24]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_TIFFVStripSize64.module:               ; @TIFFVStripSize64.module
	.asciz	"TIFFVStripSize64"

	.comm	_PLANARCONFIG_CONTIG,8,3        ; @PLANARCONFIG_CONTIG
	.comm	_PHOTOMETRIC_YCBCR,8,3          ; @PHOTOMETRIC_YCBCR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid td_samplesperpixel value"

	.comm	_TIFFTAG_YCBCRSUBSAMPLING,4,2   ; @TIFFTAG_YCBCRSUBSAMPLING
l_.str.1:                               ; @.str.1
	.asciz	"Invalid YCbCr subsampling (%dx%d)"

.subsections_via_symbols
