	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TIFFCheckTile                  ## -- Begin function TIFFCheckTile
	.p2align	4, 0x90
_TIFFCheckTile:                         ## @TIFFCheckTile
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	8(%rdi), %r9d
	cmpl	%esi, %r9d
	jle	LBB0_1
## %bb.2:
	movl	%edx, %eax
	movl	12(%rdi), %r9d
	cmpl	%edx, %r9d
	jle	LBB0_3
## %bb.4:
	movl	16(%rdi), %r9d
	cmpl	%ecx, %r9d
	jle	LBB0_5
## %bb.6:
	movq	24(%rdi), %rcx
	movq	_PLANARCONFIG_SEPARATE@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_10
## %bb.7:
	movl	32(%rdi), %r9d
	cmpl	%r8d, %r9d
	jg	LBB0_10
## %bb.8:
	leaq	L_.str.3(%rip), %rdx
	movl	%r8d, %esi
	jmp	LBB0_9
LBB0_1:
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_9
LBB0_3:
	leaq	L_.str.1(%rip), %rdx
	movl	%eax, %esi
	jmp	LBB0_9
LBB0_5:
	leaq	L_.str.2(%rip), %rdx
	movl	%ecx, %esi
LBB0_9:
	movl	(%rdi), %eax
	movl	4(%rdi), %edi
	movslq	%esi, %rcx
	decl	%r9d
	movslq	%r9d, %r8
	movl	%eax, %esi
	callq	_TIFFErrorExt
	xorl	%eax, %eax
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%lu: Col out of range, max %lu"

L_.str.1:                               ## @.str.1
	.asciz	"%lu: Row out of range, max %lu"

L_.str.2:                               ## @.str.2
	.asciz	"%lu: Depth out of range, max %lu"

	.comm	_PLANARCONFIG_SEPARATE,8,3      ## @PLANARCONFIG_SEPARATE
L_.str.3:                               ## @.str.3
	.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	_TIFFCheckTile                  ; -- Begin function TIFFCheckTile
	.p2align	2
_TIFFCheckTile:                         ; @TIFFCheckTile
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	w10, [x0, #8]
	cmp	w10, w1
	b.le	LBB0_6
; %bb.1:
	mov	x8, x2
	ldr	w10, [x0, #12]
	cmp	w10, w2
	b.le	LBB0_7
; %bb.2:
	ldr	w10, [x0, #16]
	cmp	w10, w3
	b.le	LBB0_8
; %bb.3:
	ldr	x8, [x0, #24]
Lloh0:
	adrp	x9, _PLANARCONFIG_SEPARATE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PLANARCONFIG_SEPARATE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldr	w10, [x0, #32]
	cmp	w10, w4
	b.le	LBB0_9
LBB0_5:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_10
LBB0_7:
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, x8
	b	LBB0_10
LBB0_8:
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x3
	b	LBB0_10
LBB0_9:
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x1, x4
LBB0_10:
	ldp	w9, w8, [x0]
	sxtw	x3, w1
	sub	w10, w10, #1
	sxtw	x4, w10
	mov	x0, x8
	mov	x1, x9
	bl	_TIFFErrorExt
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%lu: Col out of range, max %lu"

l_.str.1:                               ; @.str.1
	.asciz	"%lu: Row out of range, max %lu"

l_.str.2:                               ; @.str.2
	.asciz	"%lu: Depth out of range, max %lu"

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

.subsections_via_symbols
