	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TIFFReadDirEntryLong
_TIFFReadDirEntryLong:                  ## @TIFFReadDirEntryLong
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$1, (%rsi)
	jne	LBB0_1
## %bb.2:
	movl	4(%rsi), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_20
## %bb.3:
	movq	%rdx, %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	leaq	-20(%rbp), %rdx
	callq	_TIFFReadDirEntryCheckedSshort
	movl	-20(%rbp), %edi
	callq	_TIFFReadDirEntryCheckRangeLongSshort
	jmp	LBB0_8
LBB0_1:
	movq	_TIFFReadDirEntryErrCount@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %eax
LBB0_22:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_18:
	leaq	-20(%rbp), %rdx
	callq	_TIFFReadDirEntryCheckedSlong8
	movq	_TIFFReadDirEntryErrOk@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	jne	LBB0_22
## %bb.19:
	movl	-20(%rbp), %edi
	callq	_TIFFReadDirEntryCheckRangeLongSlong8
	jmp	LBB0_16
LBB0_13:
	leaq	-20(%rbp), %rdx
	callq	_TIFFReadDirEntryCheckedSlong
	movl	-20(%rbp), %edi
	callq	_TIFFReadDirEntryCheckRangeLongSlong
	jmp	LBB0_8
LBB0_10:
	leaq	-20(%rbp), %rdx
	callq	_TIFFReadDirEntryCheckedShort
	jmp	LBB0_5
LBB0_7:
	leaq	-20(%rbp), %rdx
	callq	_TIFFReadDirEntryCheckedSbyte
	movl	-20(%rbp), %edi
	callq	_TIFFReadDirEntryCheckRangeLongSbyte
LBB0_8:
	movq	_TIFFReadDirEntryErrOk@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_22
## %bb.9:
	movl	-20(%rbp), %eax
	movl	%eax, (%rbx)
	movl	(%rcx), %eax
	jmp	LBB0_22
LBB0_14:
	leaq	-20(%rbp), %rdx
	callq	_TIFFReadDirEntryCheckedLong8
	movq	_TIFFReadDirEntryErrOk@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	jne	LBB0_22
## %bb.15:
	movl	-20(%rbp), %edi
	callq	_TIFFReadDirEntryCheckRangeLongLong8
LBB0_16:
	cmpl	(%r14), %eax
	jne	LBB0_22
## %bb.17:
	movl	-20(%rbp), %eax
	movl	%eax, (%rbx)
	movl	(%r14), %eax
	jmp	LBB0_22
LBB0_4:
	leaq	-20(%rbp), %rdx
	callq	_TIFFReadDirEntryCheckedByte
LBB0_5:
	movl	-20(%rbp), %eax
	movl	%eax, (%rbx)
	movq	_TIFFReadDirEntryErrOk@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_20:
	movq	_TIFFReadDirEntryErrType@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_12:
	movq	%rbx, %rdx
	callq	_TIFFReadDirEntryCheckedLong
	movq	_TIFFReadDirEntryErrOk@GOTPCREL(%rip), %rax
	jmp	LBB0_21
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_18
	.long	L0_0_set_13
	.long	L0_0_set_10
	.long	L0_0_set_7
	.long	L0_0_set_14
	.long	L0_0_set_12
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_TIFFReadDirEntryErrCount,4,2   ## @TIFFReadDirEntryErrCount
	.comm	_TIFFReadDirEntryErrOk,4,2      ## @TIFFReadDirEntryErrOk
	.comm	_TIFFReadDirEntryErrType,4,2    ## @TIFFReadDirEntryErrType
	.no_dead_strip	_TIFFReadDirEntryLong
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TIFFReadDirEntryLong
_TIFFReadDirEntryLong:                  ; @TIFFReadDirEntryLong
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x1]
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x1, #4]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_18
; %bb.2:
	mov	x19, x2
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	add	x2, sp, #12
	bl	_TIFFReadDirEntryCheckedSshort
	ldr	w0, [sp, #12]
	bl	_TIFFReadDirEntryCheckRangeLongSshort
	b	LBB0_10
LBB0_4:
Lloh2:
	adrp	x8, _TIFFReadDirEntryErrCount@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TIFFReadDirEntryErrCount@GOTPAGEOFF]
	b	LBB0_21
LBB0_5:
	add	x2, sp, #12
	bl	_TIFFReadDirEntryCheckedSlong8
Lloh4:
	adrp	x20, _TIFFReadDirEntryErrOk@GOTPAGE
Lloh5:
	ldr	x20, [x20, _TIFFReadDirEntryErrOk@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_22
; %bb.6:
	ldr	w0, [sp, #12]
	bl	_TIFFReadDirEntryCheckRangeLongSlong8
	b	LBB0_14
LBB0_7:
	add	x2, sp, #12
	bl	_TIFFReadDirEntryCheckedSlong
	ldr	w0, [sp, #12]
	bl	_TIFFReadDirEntryCheckRangeLongSlong
	b	LBB0_10
LBB0_8:
	add	x2, sp, #12
	bl	_TIFFReadDirEntryCheckedShort
	b	LBB0_17
LBB0_9:
	add	x2, sp, #12
	bl	_TIFFReadDirEntryCheckedSbyte
	ldr	w0, [sp, #12]
	bl	_TIFFReadDirEntryCheckRangeLongSbyte
LBB0_10:
Lloh6:
	adrp	x8, _TIFFReadDirEntryErrOk@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TIFFReadDirEntryErrOk@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w0, w9
	b.ne	LBB0_22
; %bb.11:
	ldr	w9, [sp, #12]
	str	w9, [x19]
	b	LBB0_21
LBB0_12:
	add	x2, sp, #12
	bl	_TIFFReadDirEntryCheckedLong8
Lloh8:
	adrp	x20, _TIFFReadDirEntryErrOk@GOTPAGE
Lloh9:
	ldr	x20, [x20, _TIFFReadDirEntryErrOk@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_22
; %bb.13:
	ldr	w0, [sp, #12]
	bl	_TIFFReadDirEntryCheckRangeLongLong8
LBB0_14:
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_22
; %bb.15:
	ldr	w8, [sp, #12]
	str	w8, [x19]
	ldr	w0, [x20]
	b	LBB0_22
LBB0_16:
	add	x2, sp, #12
	bl	_TIFFReadDirEntryCheckedByte
LBB0_17:
	ldr	w8, [sp, #12]
	str	w8, [x19]
	b	LBB0_20
LBB0_18:
Lloh10:
	adrp	x8, _TIFFReadDirEntryErrType@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TIFFReadDirEntryErrType@GOTPAGEOFF]
	b	LBB0_21
LBB0_19:
	mov	x2, x19
	bl	_TIFFReadDirEntryCheckedLong
LBB0_20:
Lloh12:
	adrp	x8, _TIFFReadDirEntryErrOk@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TIFFReadDirEntryErrOk@GOTPAGEOFF]
LBB0_21:
	ldr	w0, [x8]
LBB0_22:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_16-LBB0_3)>>2
                                        ; -- End function
	.comm	_TIFFReadDirEntryErrCount,4,2   ; @TIFFReadDirEntryErrCount
	.comm	_TIFFReadDirEntryErrOk,4,2      ; @TIFFReadDirEntryErrOk
	.comm	_TIFFReadDirEntryErrType,4,2    ; @TIFFReadDirEntryErrType
	.no_dead_strip	_TIFFReadDirEntryLong
.subsections_via_symbols
