	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _tiffSeekProc
__tiffSeekProc:                         ## @_tiffSeekProc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	%rsi, -16(%rbp)
	cmpl	$130, %edx
	jne	LBB0_1
## %bb.2:
	movq	_FILE_CURRENT@GOTPCREL(%rip), %rax
	cmpl	$129, %edx
	je	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_FILE_BEGIN@GOTPCREL(%rip), %rax
	cmpl	$129, %edx
	jne	LBB0_5
LBB0_4:
	movq	_FILE_END@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %ecx
	leaq	-8(%rbp), %rdx
	callq	_SetFilePointer
	movq	%rax, -24(%rbp)
	movq	_INVALID_SET_FILE_POINTER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	xorl	%eax, %eax
	callq	_GetLastError
	movq	_NO_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:
	movq	$0, -16(%rbp)
LBB0_8:
	movq	-16(%rbp), %rax
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FILE_BEGIN,4,2                 ## @FILE_BEGIN
	.comm	_FILE_CURRENT,4,2               ## @FILE_CURRENT
	.comm	_FILE_END,4,2                   ## @FILE_END
	.comm	_INVALID_SET_FILE_POINTER,8,3   ## @INVALID_SET_FILE_POINTER
	.comm	_NO_ERROR,8,3                   ## @NO_ERROR
	.no_dead_strip	__tiffSeekProc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _tiffSeekProc
__tiffSeekProc:                         ; @_tiffSeekProc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
Lloh0:
	adrp	x8, _FILE_END@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FILE_END@GOTPAGEOFF]
	str	x1, [sp, #16]
Lloh2:
	adrp	x9, _FILE_CURRENT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FILE_CURRENT@GOTPAGEOFF]
Lloh4:
	adrp	x10, _FILE_BEGIN@GOTPAGE
Lloh5:
	ldr	x10, [x10, _FILE_BEGIN@GOTPAGEOFF]
	cmp	w2, #130
	csel	x9, x9, x10, eq
	cmp	w2, #129
	csel	x8, x8, x9, eq
	ldr	w3, [x8]
	add	x8, sp, #8
	add	x2, x8, #16
	bl	_SetFilePointer
	str	x0, [sp, #8]
Lloh6:
	adrp	x8, _INVALID_SET_FILE_POINTER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INVALID_SET_FILE_POINTER@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	bl	_GetLastError
Lloh9:
	adrp	x8, _NO_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NO_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
	str	xzr, [sp, #16]
LBB0_3:
	ldr	x0, [sp, #16]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FILE_BEGIN,4,2                 ; @FILE_BEGIN
	.comm	_FILE_CURRENT,4,2               ; @FILE_CURRENT
	.comm	_FILE_END,4,2                   ; @FILE_END
	.comm	_INVALID_SET_FILE_POINTER,8,3   ; @INVALID_SET_FILE_POINTER
	.comm	_NO_ERROR,8,3                   ; @NO_ERROR
	.no_dead_strip	__tiffSeekProc
.subsections_via_symbols
