	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TIFFComputeStrip               ## -- Begin function TIFFComputeStrip
	.p2align	4, 0x90
_TIFFComputeStrip:                      ## @TIFFComputeStrip
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %rcx
	movl	%esi, %eax
	cltd
	idivl	8(%rdi)
	movq	16(%rdi), %rdx
	movq	_PLANARCONFIG_SEPARATE@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_4
## %bb.1:
	movq	24(%rdi), %r8
	cmpq	%rcx, %r8
	jle	LBB0_2
## %bb.3:
	imull	32(%rdi), %ecx
	addl	%eax, %ecx
	movl	%ecx, %eax
LBB0_4:
	popq	%rbp
	retq
LBB0_2:
	movl	(%rdi), %edi
	leaq	_TIFFComputeStrip.module(%rip), %rsi
	leaq	L_.str(%rip), %rdx
	callq	_TIFFErrorExt
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @TIFFComputeStrip.module
_TIFFComputeStrip.module:
	.asciz	"TIFFComputeStrip"

	.comm	_PLANARCONFIG_SEPARATE,8,3      ## @PLANARCONFIG_SEPARATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%lu: Sample out of range, max %lu"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TIFFComputeStrip               ; -- Begin function TIFFComputeStrip
	.p2align	2
_TIFFComputeStrip:                      ; @TIFFComputeStrip
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
	ldr	w9, [x0, #8]
	sdiv	w0, w1, w9
	ldr	x9, [x8, #16]
Lloh0:
	adrp	x10, _PLANARCONFIG_SEPARATE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _PLANARCONFIG_SEPARATE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.1:
	mov	x3, x2
	ldr	x4, [x8, #24]
	cmp	x4, x2
	b.le	LBB0_4
; %bb.2:
	ldr	w8, [x8, #32]
	madd	w0, w8, w3, w0
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, _TIFFComputeStrip.module@PAGE
Lloh4:
	add	x1, x1, _TIFFComputeStrip.module@PAGEOFF
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	bl	_TIFFErrorExt
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_TIFFComputeStrip.module:               ; @TIFFComputeStrip.module
	.asciz	"TIFFComputeStrip"

	.comm	_PLANARCONFIG_SEPARATE,8,3      ; @PLANARCONFIG_SEPARATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%lu: Sample out of range, max %lu"

.subsections_via_symbols
