	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TIFFReadDirectoryCheckOrder
_TIFFReadDirectoryCheckOrder:           ## @TIFFReadDirectoryCheckOrder
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdx, %rdx
	jle	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	xorl	%r8d, %r8d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rax,8), %rcx
	cmpq	%r8, %rcx
	jl	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	incq	%rax
	movq	%rcx, %r8
	cmpq	%rax, %rdx
	jne	LBB0_2
LBB0_4:
	popq	%rbp
	retq
LBB0_5:
	movl	(%rdi), %edi
	leaq	_TIFFReadDirectoryCheckOrder.module(%rip), %rsi
	leaq	L_.str(%rip), %rdx
	popq	%rbp
	jmp	_TIFFWarningExt                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @TIFFReadDirectoryCheckOrder.module
_TIFFReadDirectoryCheckOrder.module:
	.asciz	"TIFFReadDirectoryCheckOrder"

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid TIFF directory; tags are not sorted in ascending order"

	.no_dead_strip	_TIFFReadDirectoryCheckOrder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TIFFReadDirectoryCheckOrder
_TIFFReadDirectoryCheckOrder:           ; @TIFFReadDirectoryCheckOrder
	.cfi_startproc
; %bb.0:
	cmp	x2, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x8, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x1]
	cmp	x9, x8
	b.lt	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x9, #1
	add	x1, x1, #8
	subs	x2, x2, #1
	b.ne	LBB0_2
LBB0_4:
	ret
LBB0_5:
Lloh0:
	adrp	x1, _TIFFReadDirectoryCheckOrder.module@PAGE
Lloh1:
	add	x1, x1, _TIFFReadDirectoryCheckOrder.module@PAGEOFF
	ldr	w0, [x0]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	b	_TIFFWarningExt
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_TIFFReadDirectoryCheckOrder.module:    ; @TIFFReadDirectoryCheckOrder.module
	.asciz	"TIFFReadDirectoryCheckOrder"

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid TIFF directory; tags are not sorted in ascending order"

	.no_dead_strip	_TIFFReadDirectoryCheckOrder
.subsections_via_symbols
