	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TIFFReadDirEntrySlong8Array
_TIFFReadDirEntrySlong8Array:           ## @TIFFReadDirEntrySlong8Array
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rsi), %eax
	andl	$-8, %eax
	cmpl	$128, %eax
	jne	LBB0_1
## %bb.2:
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r12
	leaq	-44(%rbp), %rdx
	leaq	-56(%rbp), %r8
	movl	$8, %ecx
	callq	_TIFFReadDirEntryArray
	movl	%eax, %r15d
	movq	_TIFFReadDirEntryErrOk@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_4
## %bb.3:
	movq	-56(%rbp), %r14
	testq	%r14, %r14
	je	LBB0_4
## %bb.5:
	movl	(%r13), %eax
	cmpl	$129, %eax
	je	LBB0_16
## %bb.6:
	cmpl	$133, %eax
	jne	LBB0_18
## %bb.7:
	cmpl	$0, -44(%rbp)
	jle	LBB0_15
## %bb.8:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	_TIFF_SWAB@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %eax
	testl	%eax, (%r12)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r14, %rdi
	callq	_TIFFSwabLong8
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r14), %edi
	callq	_TIFFReadDirEntryCheckRangeSlong8Long8
	movl	%eax, %r15d
	movq	_TIFFReadDirEntryErrOk@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	addq	$4, %r14
	incl	%ebx
	cmpl	-44(%rbp), %ebx
	jl	LBB0_9
## %bb.14:
	movq	-56(%rbp), %r14
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_15:
	movq	%r14, (%rbx)
	jmp	LBB0_71
LBB0_1:
	movq	_TIFFReadDirEntryErrType@GOTPCREL(%rip), %rax
LBB0_70:
	movl	(%rax), %r15d
	jmp	LBB0_71
LBB0_4:
	movq	$0, (%rbx)
LBB0_71:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	%r14, (%rbx)
	movq	_TIFF_SWAB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_71
## %bb.17:
	movl	-44(%rbp), %esi
	movq	%r14, %rdi
	callq	_TIFFSwabArrayOfLong8
	jmp	LBB0_69
LBB0_18:
	movl	-44(%rbp), %edi
	shll	$3, %edi
	callq	__TIFFmalloc
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:
	movq	%rax, %r15
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	(%r13), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_68
## %bb.21:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_53:
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_68
## %bb.54:
	movq	-56(%rbp), %r14
	xorl	%ebx, %ebx
	movq	_TIFF_SWAB@GOTPCREL(%rip), %r13
	jmp	LBB0_55
LBB0_57:                                ##   in Loop: Header=BB0_55 Depth=1
	movslq	(%r14), %rcx
	addq	$4, %r14
	movq	%rcx, (%r15,%rbx,8)
	incq	%rbx
	cmpl	%eax, %ebx
	jge	LBB0_68
LBB0_55:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %ecx
	testl	%ecx, (%r12)
	je	LBB0_57
## %bb.56:                              ##   in Loop: Header=BB0_55 Depth=1
	movq	%r14, %rdi
	callq	_TIFFSwabShort
	movl	-44(%rbp), %eax
	jmp	LBB0_57
LBB0_19:
	movq	-56(%rbp), %rdi
	callq	__TIFFfree
	movq	_TIFFReadDirEntryErrAlloc@GOTPCREL(%rip), %rax
	jmp	LBB0_70
LBB0_12:
	movq	-56(%rbp), %rdi
	callq	__TIFFfree
	jmp	LBB0_71
LBB0_63:
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_68
## %bb.64:
	movq	-56(%rbp), %r14
	xorl	%ebx, %ebx
	movq	_TIFF_SWAB@GOTPCREL(%rip), %r13
	jmp	LBB0_65
LBB0_67:                                ##   in Loop: Header=BB0_65 Depth=1
	movslq	(%r14), %rcx
	addq	$4, %r14
	movq	%rcx, (%r15,%rbx,8)
	incq	%rbx
	cmpl	%eax, %ebx
	jge	LBB0_68
LBB0_65:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %ecx
	testl	%ecx, (%r12)
	je	LBB0_67
## %bb.66:                              ##   in Loop: Header=BB0_65 Depth=1
	movq	%r14, %rdi
	callq	_TIFFSwabLong
	movl	-44(%rbp), %eax
	jmp	LBB0_67
LBB0_48:
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_68
## %bb.49:
	movq	-56(%rbp), %r14
	xorl	%ebx, %ebx
	movq	_TIFF_SWAB@GOTPCREL(%rip), %r13
	jmp	LBB0_50
LBB0_52:                                ##   in Loop: Header=BB0_50 Depth=1
	movslq	(%r14), %rcx
	addq	$4, %r14
	movq	%rcx, (%r15,%rbx,8)
	incq	%rbx
	cmpl	%eax, %ebx
	jge	LBB0_68
LBB0_50:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %ecx
	testl	%ecx, (%r12)
	je	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_50 Depth=1
	movq	%r14, %rdi
	callq	_TIFFSwabShort
	movl	-44(%rbp), %eax
	jmp	LBB0_52
LBB0_35:
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_68
## %bb.36:
	movq	-56(%rbp), %rcx
	leal	-1(%rax), %esi
	cmpl	$3, %esi
	jae	LBB0_38
## %bb.37:
	xorl	%r8d, %r8d
	movq	%r15, %rsi
	jmp	LBB0_46
LBB0_58:
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_68
## %bb.59:
	movq	-56(%rbp), %r14
	xorl	%ebx, %ebx
	movq	_TIFF_SWAB@GOTPCREL(%rip), %r13
	jmp	LBB0_60
LBB0_62:                                ##   in Loop: Header=BB0_60 Depth=1
	movslq	(%r14), %rcx
	addq	$4, %r14
	movq	%rcx, (%r15,%rbx,8)
	incq	%rbx
	cmpl	%eax, %ebx
	jge	LBB0_68
LBB0_60:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %ecx
	testl	%ecx, (%r12)
	je	LBB0_62
## %bb.61:                              ##   in Loop: Header=BB0_60 Depth=1
	movq	%r14, %rdi
	callq	_TIFFSwabLong
	movl	-44(%rbp), %eax
	jmp	LBB0_62
LBB0_22:
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_68
## %bb.23:
	movq	-56(%rbp), %rcx
	leal	-1(%rax), %esi
	cmpl	$3, %esi
	jae	LBB0_25
## %bb.24:
	xorl	%r8d, %r8d
	movq	%r15, %rsi
	jmp	LBB0_33
LBB0_38:
	incq	%rsi
	movq	%rsi, %r8
	andq	$-4, %r8
	leaq	-4(%r8), %rdi
	movq	%rdi, %rdx
	shrq	$2, %rdx
	incq	%rdx
	testq	%rdi, %rdi
	je	LBB0_39
## %bb.40:
	movq	%rdx, %rdi
	andq	$-2, %rdi
	xorl	%ebx, %ebx
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	pmovsxdq	(%rcx,%rbx,4), %xmm0
	pmovsxdq	8(%rcx,%rbx,4), %xmm1
	movdqu	%xmm0, (%r15,%rbx,8)
	movdqu	%xmm1, 16(%r15,%rbx,8)
	pmovsxdq	16(%rcx,%rbx,4), %xmm0
	pmovsxdq	24(%rcx,%rbx,4), %xmm1
	movdqu	%xmm0, 32(%r15,%rbx,8)
	movdqu	%xmm1, 48(%r15,%rbx,8)
	addq	$8, %rbx
	addq	$-2, %rdi
	jne	LBB0_41
	jmp	LBB0_42
LBB0_25:
	incq	%rsi
	movq	%rsi, %r8
	andq	$-4, %r8
	leaq	-4(%r8), %rdi
	movq	%rdi, %rdx
	shrq	$2, %rdx
	incq	%rdx
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.27:
	movq	%rdx, %rdi
	andq	$-2, %rdi
	xorl	%ebx, %ebx
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	pmovsxdq	(%rcx,%rbx,4), %xmm0
	pmovsxdq	8(%rcx,%rbx,4), %xmm1
	movdqu	%xmm0, (%r15,%rbx,8)
	movdqu	%xmm1, 16(%r15,%rbx,8)
	pmovsxdq	16(%rcx,%rbx,4), %xmm0
	pmovsxdq	24(%rcx,%rbx,4), %xmm1
	movdqu	%xmm0, 32(%r15,%rbx,8)
	movdqu	%xmm1, 48(%r15,%rbx,8)
	addq	$8, %rbx
	addq	$-2, %rdi
	jne	LBB0_28
	jmp	LBB0_29
LBB0_26:
	xorl	%ebx, %ebx
LBB0_29:
	testb	$1, %dl
	je	LBB0_31
## %bb.30:
	pmovsxdq	(%rcx,%rbx,4), %xmm0
	pmovsxdq	8(%rcx,%rbx,4), %xmm1
	movdqu	%xmm0, (%r15,%rbx,8)
	movdqu	%xmm1, 16(%r15,%rbx,8)
LBB0_31:
	cmpq	%r8, %rsi
	je	LBB0_68
## %bb.32:
	leaq	(%r15,%r8,8), %rsi
	leaq	(%rcx,%r8,4), %rcx
LBB0_33:
	subl	%r8d, %eax
	xorl	%edx, %edx
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rcx,%rdx,4), %rdi
	movq	%rdi, (%rsi,%rdx,8)
	incq	%rdx
	cmpl	%edx, %eax
	jne	LBB0_34
	jmp	LBB0_68
LBB0_39:
	xorl	%ebx, %ebx
LBB0_42:
	testb	$1, %dl
	je	LBB0_44
## %bb.43:
	pmovsxdq	(%rcx,%rbx,4), %xmm0
	pmovsxdq	8(%rcx,%rbx,4), %xmm1
	movdqu	%xmm0, (%r15,%rbx,8)
	movdqu	%xmm1, 16(%r15,%rbx,8)
LBB0_44:
	cmpq	%r8, %rsi
	je	LBB0_68
## %bb.45:
	leaq	(%r15,%r8,8), %rsi
	leaq	(%rcx,%r8,4), %rcx
LBB0_46:
	subl	%r8d, %eax
	xorl	%edx, %edx
LBB0_47:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rcx,%rdx,4), %rdi
	movq	%rdi, (%rsi,%rdx,8)
	incq	%rdx
	cmpl	%edx, %eax
	jne	LBB0_47
LBB0_68:
	movq	-56(%rbp), %rdi
	callq	__TIFFfree
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
LBB0_69:
	movq	_TIFFReadDirEntryErrOk@GOTPCREL(%rip), %rax
	jmp	LBB0_70
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_53, LBB0_53-LJTI0_0
.set L0_0_set_68, LBB0_68-LJTI0_0
.set L0_0_set_63, LBB0_63-LJTI0_0
.set L0_0_set_48, LBB0_48-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_58, LBB0_58-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
LJTI0_0:
	.long	L0_0_set_53
	.long	L0_0_set_68
	.long	L0_0_set_63
	.long	L0_0_set_48
	.long	L0_0_set_35
	.long	L0_0_set_68
	.long	L0_0_set_58
	.long	L0_0_set_22
	.end_data_region
                                        ## -- End function
	.comm	_TIFFReadDirEntryErrType,4,2    ## @TIFFReadDirEntryErrType
	.comm	_TIFFReadDirEntryErrOk,4,2      ## @TIFFReadDirEntryErrOk
	.comm	_TIFF_SWAB,4,2                  ## @TIFF_SWAB
	.comm	_TIFFReadDirEntryErrAlloc,4,2   ## @TIFFReadDirEntryErrAlloc
	.no_dead_strip	_TIFFReadDirEntrySlong8Array
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TIFFReadDirEntrySlong8Array
_TIFFReadDirEntrySlong8Array:           ; @TIFFReadDirEntrySlong8Array
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	w8, [x1]
	and	w8, w8, #0xfffffff8
	cmp	w8, #128
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x2
	mov	x23, x1
	mov	x21, x0
	add	x2, sp, #12
	mov	x4, sp
	mov	w3, #8
	bl	_TIFFReadDirEntryArray
	mov	x20, x0
Lloh0:
	adrp	x24, _TIFFReadDirEntryErrOk@GOTPAGE
Lloh1:
	ldr	x24, [x24, _TIFFReadDirEntryErrOk@GOTPAGEOFF]
	ldr	w8, [x24]
	ldr	x22, [sp]
	cmp	w0, w8
	ccmp	x22, #0, #4, eq
	b.ne	LBB0_6
; %bb.2:
	str	xzr, [x19]
	b	LBB0_5
LBB0_3:
Lloh2:
	adrp	x8, _TIFFReadDirEntryErrType@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TIFFReadDirEntryErrType@GOTPAGEOFF]
LBB0_4:
	ldr	w20, [x8]
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	ldr	w8, [x23]
	cmp	w8, #129
	b.eq	LBB0_16
; %bb.7:
	cmp	w8, #133
	b.ne	LBB0_18
; %bb.8:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.9:
	mov	w23, #0
Lloh4:
	adrp	x25, _TIFF_SWAB@GOTPAGE
Lloh5:
	ldr	x25, [x25, _TIFF_SWAB@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x22
	bl	_TIFFSwabLong8
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x22]
	bl	_TIFFReadDirEntryCheckRangeSlong8Long8
	mov	x20, x0
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_27
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x22, x22, #4
	add	w23, w23, #1
	ldr	w8, [sp, #12]
	cmp	w23, w8
	b.lt	LBB0_10
; %bb.14:
	ldr	x22, [sp]
LBB0_15:
	str	x22, [x19]
	b	LBB0_5
LBB0_16:
	str	x22, [x19]
	ldr	w8, [x21]
Lloh6:
	adrp	x9, _TIFF_SWAB@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TIFF_SWAB@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.17:
	ldr	w1, [sp, #12]
	mov	x0, x22
	bl	_TIFFSwabArrayOfLong8
	b	LBB0_60
LBB0_18:
	ldr	w8, [sp, #12]
	lsl	w0, w8, #3
	bl	__TIFFmalloc
	cbz	x0, LBB0_26
; %bb.19:
	mov	x20, x0
	ldr	w8, [x23]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_59
; %bb.20:
Lloh9:
	adrp	x9, lJTI0_0@PAGE
Lloh10:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_21
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_21:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_59
; %bb.22:
	mov	x23, #0
	ldr	x22, [sp]
Lloh11:
	adrp	x25, _TIFF_SWAB@GOTPAGE
Lloh12:
	ldr	x25, [x25, _TIFF_SWAB@GOTPAGEOFF]
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	ldrsw	x9, [x22], #4
	str	x9, [x20, x23, lsl #3]
	add	x23, x23, #1
	cmp	w23, w8
	b.ge	LBB0_59
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21]
	ldr	w10, [x25]
	tst	w10, w9
	b.eq	LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	mov	x0, x22
	bl	_TIFFSwabShort
	ldr	w8, [sp, #12]
	b	LBB0_23
LBB0_26:
	ldr	x0, [sp]
	bl	__TIFFfree
Lloh13:
	adrp	x8, _TIFFReadDirEntryErrAlloc@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TIFFReadDirEntryErrAlloc@GOTPAGEOFF]
	b	LBB0_4
LBB0_27:
	ldr	x0, [sp]
	bl	__TIFFfree
	b	LBB0_5
LBB0_28:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_59
; %bb.29:
	mov	x23, #0
	ldr	x22, [sp]
Lloh15:
	adrp	x25, _TIFF_SWAB@GOTPAGE
Lloh16:
	ldr	x25, [x25, _TIFF_SWAB@GOTPAGEOFF]
	b	LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=1
	ldrsw	x9, [x22], #4
	str	x9, [x20, x23, lsl #3]
	add	x23, x23, #1
	cmp	w23, w8
	b.ge	LBB0_59
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21]
	ldr	w10, [x25]
	tst	w10, w9
	b.eq	LBB0_30
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	mov	x0, x22
	bl	_TIFFSwabLong
	ldr	w8, [sp, #12]
	b	LBB0_30
LBB0_33:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_59
; %bb.34:
	mov	x23, #0
	ldr	x22, [sp]
Lloh17:
	adrp	x25, _TIFF_SWAB@GOTPAGE
Lloh18:
	ldr	x25, [x25, _TIFF_SWAB@GOTPAGEOFF]
	b	LBB0_36
LBB0_35:                                ;   in Loop: Header=BB0_36 Depth=1
	ldrsw	x9, [x22], #4
	str	x9, [x20, x23, lsl #3]
	add	x23, x23, #1
	cmp	w23, w8
	b.ge	LBB0_59
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21]
	ldr	w10, [x25]
	tst	w10, w9
	b.eq	LBB0_35
; %bb.37:                               ;   in Loop: Header=BB0_36 Depth=1
	mov	x0, x22
	bl	_TIFFSwabShort
	ldr	w8, [sp, #12]
	b	LBB0_35
LBB0_38:
	ldr	w9, [sp, #12]
	subs	w8, w9, #1
	b.lt	LBB0_59
; %bb.39:
	ldr	x14, [sp]
	cmp	w8, #7
	b.hs	LBB0_49
; %bb.40:
	mov	w11, #0
	mov	x8, x20
	mov	x10, x14
	b	LBB0_52
LBB0_41:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_59
; %bb.42:
	mov	x23, #0
	ldr	x22, [sp]
Lloh19:
	adrp	x25, _TIFF_SWAB@GOTPAGE
Lloh20:
	ldr	x25, [x25, _TIFF_SWAB@GOTPAGEOFF]
	b	LBB0_44
LBB0_43:                                ;   in Loop: Header=BB0_44 Depth=1
	ldrsw	x9, [x22], #4
	str	x9, [x20, x23, lsl #3]
	add	x23, x23, #1
	cmp	w23, w8
	b.ge	LBB0_59
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21]
	ldr	w10, [x25]
	tst	w10, w9
	b.eq	LBB0_43
; %bb.45:                               ;   in Loop: Header=BB0_44 Depth=1
	mov	x0, x22
	bl	_TIFFSwabLong
	ldr	w8, [sp, #12]
	b	LBB0_43
LBB0_46:
	ldr	w9, [sp, #12]
	subs	w8, w9, #1
	b.lt	LBB0_59
; %bb.47:
	ldr	x14, [sp]
	cmp	w8, #7
	b.hs	LBB0_54
; %bb.48:
	mov	w11, #0
	mov	x8, x20
	mov	x10, x14
	b	LBB0_57
LBB0_49:
	add	x12, x8, #1
	and	x11, x12, #0x1fffffff8
	add	x8, x20, x11, lsl #3
	add	x10, x14, x11, lsl #2
	add	x13, x20, #32
	add	x14, x14, #16
	mov	x15, x11
LBB0_50:                                ; =>This Inner Loop Header: Depth=1
	ldp	d0, d1, [x14, #-16]
	ldp	d2, d3, [x14], #32
	sshll.2d	v0, v0, #0
	sshll.2d	v1, v1, #0
	sshll.2d	v2, v2, #0
	sshll.2d	v3, v3, #0
	stp	q0, q1, [x13, #-32]
	stp	q2, q3, [x13], #64
	subs	x15, x15, #8
	b.ne	LBB0_50
; %bb.51:
	cmp	x12, x11
	b.eq	LBB0_59
LBB0_52:
	sub	w9, w9, w11
LBB0_53:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x11, [x10], #4
	str	x11, [x8], #8
	subs	w9, w9, #1
	b.ne	LBB0_53
	b	LBB0_59
LBB0_54:
	add	x12, x8, #1
	and	x11, x12, #0x1fffffff8
	add	x8, x20, x11, lsl #3
	add	x10, x14, x11, lsl #2
	add	x13, x20, #32
	add	x14, x14, #16
	mov	x15, x11
LBB0_55:                                ; =>This Inner Loop Header: Depth=1
	ldp	d0, d1, [x14, #-16]
	ldp	d2, d3, [x14], #32
	sshll.2d	v0, v0, #0
	sshll.2d	v1, v1, #0
	sshll.2d	v2, v2, #0
	sshll.2d	v3, v3, #0
	stp	q0, q1, [x13, #-32]
	stp	q2, q3, [x13], #64
	subs	x15, x15, #8
	b.ne	LBB0_55
; %bb.56:
	cmp	x12, x11
	b.eq	LBB0_59
LBB0_57:
	sub	w9, w9, w11
LBB0_58:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x11, [x10], #4
	str	x11, [x8], #8
	subs	w9, w9, #1
	b.ne	LBB0_58
LBB0_59:
	ldr	x0, [sp]
	bl	__TIFFfree
	str	x20, [x19]
LBB0_60:
	ldr	w20, [x24]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_21-LBB0_21)>>2
	.byte	(LBB0_59-LBB0_21)>>2
	.byte	(LBB0_28-LBB0_21)>>2
	.byte	(LBB0_33-LBB0_21)>>2
	.byte	(LBB0_38-LBB0_21)>>2
	.byte	(LBB0_59-LBB0_21)>>2
	.byte	(LBB0_41-LBB0_21)>>2
	.byte	(LBB0_46-LBB0_21)>>2
                                        ; -- End function
	.comm	_TIFFReadDirEntryErrType,4,2    ; @TIFFReadDirEntryErrType
	.comm	_TIFFReadDirEntryErrOk,4,2      ; @TIFFReadDirEntryErrOk
	.comm	_TIFF_SWAB,4,2                  ; @TIFF_SWAB
	.comm	_TIFFReadDirEntryErrAlloc,4,2   ; @TIFFReadDirEntryErrAlloc
	.no_dead_strip	_TIFFReadDirEntrySlong8Array
.subsections_via_symbols
