	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TIFFReadDirEntryPersampleShort
_TIFFReadDirEntryPersampleShort:        ## @TIFFReadDirEntryPersampleShort
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rax
	cmpq	(%rdi), %rax
	jge	LBB0_2
## %bb.1:
	movq	_TIFFReadDirEntryErrCount@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_9
LBB0_2:
	movq	%rdx, %r14
	movq	%rdi, %rbx
	leaq	-32(%rbp), %rdx
	callq	_TIFFReadDirEntryShortArray
	movl	%eax, %r15d
	movq	_TIFFReadDirEntryErrOk@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_9
## %bb.3:
	movq	-32(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.4:
	movq	(%rbx), %rax
	movq	(%rdi), %rcx
	movq	%rcx, (%r14)
	leaq	8(%rdi), %rdx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$2, %rax
	jl	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	decq	%rax
	leaq	8(%rdx), %rsi
	cmpq	%rcx, (%rdx)
	movq	%rsi, %rdx
	je	LBB0_5
## %bb.7:
	movq	_TIFFReadDirEntryErrPsdif@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_8:
	callq	__TIFFfree
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TIFFReadDirEntryErrCount,4,2   ## @TIFFReadDirEntryErrCount
	.comm	_TIFFReadDirEntryErrOk,4,2      ## @TIFFReadDirEntryErrOk
	.comm	_TIFFReadDirEntryErrPsdif,4,2   ## @TIFFReadDirEntryErrPsdif
	.no_dead_strip	_TIFFReadDirEntryPersampleShort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TIFFReadDirEntryPersampleShort
_TIFFReadDirEntryPersampleShort:        ; @TIFFReadDirEntryPersampleShort
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x8, [x1]
	ldr	x9, [x0]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _TIFFReadDirEntryErrCount@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TIFFReadDirEntryErrCount@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	b	LBB0_8
LBB0_2:
	mov	x20, x2
	mov	x21, x0
	add	x2, sp, #8
	bl	_TIFFReadDirEntryShortArray
	mov	x19, x0
Lloh3:
	adrp	x8, _TIFFReadDirEntryErrOk@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TIFFReadDirEntryErrOk@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x0, [sp, #8]
	cmp	w19, w8
	ccmp	x0, #0, #4, eq
	b.eq	LBB0_8
; %bb.3:
	ldr	x8, [x21]
	ldr	x9, [x0]
	str	x9, [x20]
	mov	w10, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x8, #2
	b.lt	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x8, x8, #1
	ldr	x11, [x0, x10]
	add	x10, x10, #8
	cmp	x11, x9
	b.eq	LBB0_4
; %bb.6:
Lloh6:
	adrp	x8, _TIFFReadDirEntryErrPsdif@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TIFFReadDirEntryErrPsdif@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
LBB0_7:
	bl	__TIFFfree
LBB0_8:
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TIFFReadDirEntryErrCount,4,2   ; @TIFFReadDirEntryErrCount
	.comm	_TIFFReadDirEntryErrOk,4,2      ; @TIFFReadDirEntryErrOk
	.comm	_TIFFReadDirEntryErrPsdif,4,2   ; @TIFFReadDirEntryErrPsdif
	.no_dead_strip	_TIFFReadDirEntryPersampleShort
.subsections_via_symbols
