	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TIFFFdOpen                     ## -- Begin function TIFFFdOpen
	.p2align	4, 0x90
_TIFFFdOpen:                            ## @TIFFFdOpen
	.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, %r10
	movl	%edi, %r14d
	movq	%rdx, %rax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %ecx
	testb	%cl, %cl
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$117, %cl
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%rax
	jmp	LBB0_1
LBB0_4:
	testb	%cl, %cl
	movq	__tiffReadProc@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	__tiffWriteProc@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	__tiffSeekProc@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	__tiffCloseProc@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movq	__tiffDummyMapProc@GOTPCREL(%rip), %rdi
	cmoveq	__tiffMapProc@GOTPCREL(%rip), %rdi
	movq	__tiffSizeProc@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r15d
	movl	(%rdi), %eax
	movq	__tiffDummyUnmapProc@GOTPCREL(%rip), %rsi
	cmoveq	__tiffUnmapProc@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ebx
	movq	%r10, %rdi
	movq	%rdx, %rsi
	movl	%r14d, %edx
	pushq	%rbx
	pushq	%rax
	pushq	%r15
	pushq	%r11
	callq	_TIFFClientOpen
	addq	$32, %rsp
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	%r14d, (%rax)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__tiffReadProc,4,2              ## @_tiffReadProc
	.comm	__tiffWriteProc,4,2             ## @_tiffWriteProc
	.comm	__tiffSeekProc,4,2              ## @_tiffSeekProc
	.comm	__tiffCloseProc,4,2             ## @_tiffCloseProc
	.comm	__tiffSizeProc,4,2              ## @_tiffSizeProc
	.comm	__tiffDummyMapProc,4,2          ## @_tiffDummyMapProc
	.comm	__tiffMapProc,4,2               ## @_tiffMapProc
	.comm	__tiffDummyUnmapProc,4,2        ## @_tiffDummyUnmapProc
	.comm	__tiffUnmapProc,4,2             ## @_tiffUnmapProc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TIFFFdOpen                     ; -- Begin function TIFFFdOpen
	.p2align	2
_TIFFFdOpen:                            ; @TIFFFdOpen
	.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
	mov	x19, x0
	mov	x9, x2
	ldrb	w8, [x9]
	cbz	w8, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #117
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x9, x9, #1
	ldrb	w8, [x9]
	cbnz	w8, LBB0_1
LBB0_3:
Lloh0:
	adrp	x9, __tiffReadProc@GOTPAGE
Lloh1:
	ldr	x9, [x9, __tiffReadProc@GOTPAGEOFF]
Lloh2:
	adrp	x10, __tiffWriteProc@GOTPAGE
Lloh3:
	ldr	x10, [x10, __tiffWriteProc@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x9]
Lloh5:
	ldr	w4, [x10]
Lloh6:
	adrp	x9, __tiffSeekProc@GOTPAGE
Lloh7:
	ldr	x9, [x9, __tiffSeekProc@GOTPAGEOFF]
Lloh8:
	adrp	x10, __tiffCloseProc@GOTPAGE
Lloh9:
	ldr	x10, [x10, __tiffCloseProc@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x9]
Lloh11:
	ldr	w6, [x10]
Lloh12:
	adrp	x9, __tiffSizeProc@GOTPAGE
Lloh13:
	ldr	x9, [x9, __tiffSizeProc@GOTPAGEOFF]
Lloh14:
	adrp	x10, __tiffDummyMapProc@GOTPAGE
Lloh15:
	ldr	x10, [x10, __tiffDummyMapProc@GOTPAGEOFF]
Lloh16:
	ldr	w7, [x9]
Lloh17:
	adrp	x9, __tiffMapProc@GOTPAGE
Lloh18:
	ldr	x9, [x9, __tiffMapProc@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
Lloh19:
	adrp	x9, __tiffDummyUnmapProc@GOTPAGE
Lloh20:
	ldr	x9, [x9, __tiffDummyUnmapProc@GOTPAGEOFF]
Lloh21:
	adrp	x10, __tiffUnmapProc@GOTPAGE
Lloh22:
	ldr	x10, [x10, __tiffUnmapProc@GOTPAGEOFF]
	csel	x9, x10, x9, eq
	ldr	w9, [x9]
	stp	w8, w9, [sp]
	mov	x0, x1
	mov	x1, x2
	mov	x2, x19
	bl	_TIFFClientOpen
	cbz	x0, LBB0_5
; %bb.4:
	str	w19, [x0]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	__tiffReadProc,4,2              ; @_tiffReadProc
	.comm	__tiffWriteProc,4,2             ; @_tiffWriteProc
	.comm	__tiffSeekProc,4,2              ; @_tiffSeekProc
	.comm	__tiffCloseProc,4,2             ; @_tiffCloseProc
	.comm	__tiffSizeProc,4,2              ; @_tiffSizeProc
	.comm	__tiffDummyMapProc,4,2          ; @_tiffDummyMapProc
	.comm	__tiffMapProc,4,2               ; @_tiffMapProc
	.comm	__tiffDummyUnmapProc,4,2        ; @_tiffDummyUnmapProc
	.comm	__tiffUnmapProc,4,2             ; @_tiffUnmapProc
.subsections_via_symbols
