	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TIFFReadDirEntryCheckedLong8
_TIFFReadDirEntryCheckedLong8:          ## @TIFFReadDirEntryCheckedLong8
	.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
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movq	_TIFF_BIGTIFF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.4:
	movl	(%rsi), %eax
	movl	%eax, (%r14)
	jmp	LBB0_5
LBB0_1:
	movl	4(%rsi), %esi
	movl	%esi, -20(%rbp)
	movq	_TIFF_SWAB@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	leaq	-20(%rbp), %rdi
	callq	_TIFFSwabLong
	movl	-20(%rbp), %esi
LBB0_3:
	movq	%rbx, %rdi
	movl	$8, %edx
	movq	%r14, %rcx
	callq	_TIFFReadDirEntryData
	movq	_TIFFReadDirEntryErrOk@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
LBB0_5:
	movq	_TIFF_SWAB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_TIFFSwabLong8
LBB0_7:
	movq	_TIFFReadDirEntryErrOk@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TIFF_BIGTIFF,4,2               ## @TIFF_BIGTIFF
	.comm	_TIFF_SWAB,4,2                  ## @TIFF_SWAB
	.comm	_TIFFReadDirEntryErrOk,4,2      ## @TIFFReadDirEntryErrOk
	.no_dead_strip	_TIFFReadDirEntryCheckedLong8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TIFFReadDirEntryCheckedLong8
_TIFFReadDirEntryCheckedLong8:          ; @TIFFReadDirEntryCheckedLong8
	.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
	mov	x19, x2
	mov	x20, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _TIFF_BIGTIFF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TIFF_BIGTIFF@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x22, _TIFF_SWAB@GOTPAGE
Lloh4:
	ldr	x22, [x22, _TIFF_SWAB@GOTPAGEOFF]
Lloh5:
	adrp	x21, _TIFFReadDirEntryErrOk@GOTPAGE
Lloh6:
	ldr	x21, [x21, _TIFFReadDirEntryErrOk@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x1]
	str	w8, [x19]
	b	LBB0_5
LBB0_2:
	ldr	w1, [x1, #4]
	str	w1, [sp, #12]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	add	x0, sp, #12
	bl	_TIFFSwabLong
	ldr	w1, [sp, #12]
LBB0_4:
	mov	x0, x20
	mov	w2, #8
	mov	x3, x19
	bl	_TIFFReadDirEntryData
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_8
LBB0_5:
	ldr	w8, [x20]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_TIFFSwabLong8
LBB0_7:
	ldr	w0, [x21]
LBB0_8:
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TIFF_BIGTIFF,4,2               ; @TIFF_BIGTIFF
	.comm	_TIFF_SWAB,4,2                  ; @TIFF_SWAB
	.comm	_TIFFReadDirEntryErrOk,4,2      ; @TIFFReadDirEntryErrOk
	.no_dead_strip	_TIFFReadDirEntryCheckedLong8
.subsections_via_symbols
