	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TIFFStartStrip
_TIFFStartStrip:                        ## @TIFFStartStrip
	.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, %r14
	movq	%rdi, %rbx
	callq	__TIFFFillStriles
	testl	%eax, %eax
	je	LBB0_13
## %bb.1:
	cmpq	$0, 88(%rbx)
	je	LBB0_13
## %bb.2:
	movl	(%rbx), %ecx
	movq	_TIFF_CODERSETUP@GOTPCREL(%rip), %r15
	testl	%ecx, (%r15)
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	*64(%rbx)
	testl	%eax, %eax
	je	LBB0_13
## %bb.4:
	movl	(%rbx), %ecx
	orl	(%r15), %ecx
	movl	%ecx, (%rbx)
LBB0_5:
	movq	%r14, 8(%rbx)
	movq	72(%rbx), %rsi
	movq	%r14, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	je	LBB0_6
## %bb.7:
	movq	%r14, %rax
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_8
LBB0_13:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	%r14d, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
LBB0_8:
	imulq	80(%rbx), %rdx
	movq	%rdx, 16(%rbx)
	movq	_TIFF_BUF4WRITE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	%edx, %ecx
	movl	%ecx, (%rbx)
	movq	_TIFF_NOREADRAW@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_10
## %bb.9:
	movq	$0, 56(%rbx)
	xorl	%ecx, %ecx
	jmp	LBB0_12
LBB0_10:
	movq	32(%rbx), %rcx
	movq	48(%rbx), %rdx
	movq	%rdx, 56(%rbx)
	testq	%rcx, %rcx
	jg	LBB0_12
## %bb.11:
	movq	88(%rbx), %rcx
	movq	(%rcx,%r14,8), %rcx
LBB0_12:
	movq	%rcx, 24(%rbx)
	movq	40(%rbx), %rcx
	movq	%rbx, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rcx                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TIFF_CODERSETUP,4,2            ## @TIFF_CODERSETUP
	.comm	_TIFF_BUF4WRITE,4,2             ## @TIFF_BUF4WRITE
	.comm	_TIFF_NOREADRAW,4,2             ## @TIFF_NOREADRAW
	.no_dead_strip	_TIFFStartStrip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TIFFStartStrip
_TIFFStartStrip:                        ; @TIFFStartStrip
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	bl	__TIFFFillStriles
	cbz	w0, LBB0_7
; %bb.1:
	ldr	x8, [x19, #88]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	w8, [x19]
Lloh0:
	adrp	x21, _TIFF_CODERSETUP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TIFF_CODERSETUP@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x19, #64]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_7
; %bb.4:
	ldr	w8, [x21]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_5:
	ldp	x9, x10, [x19, #72]
	udiv	x1, x20, x9
	msub	x9, x1, x9, x20
	mul	x9, x10, x9
	stp	x20, x9, [x19, #8]
Lloh2:
	adrp	x9, _TIFF_BUF4WRITE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TIFF_BUF4WRITE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x19]
Lloh5:
	adrp	x9, _TIFF_NOREADRAW@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TIFF_NOREADRAW@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.6:
	mov	x8, #0
	str	xzr, [x19, #56]
	b	LBB0_10
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	x8, [x19, #48]
	str	x8, [x19, #56]
	ldr	x8, [x19, #32]
	cmp	x8, #0
	b.gt	LBB0_10
; %bb.9:
	ldr	x8, [x19, #88]
	ldr	x8, [x8, x20, lsl #3]
LBB0_10:
	str	x8, [x19, #24]
	ldr	x2, [x19, #40]
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TIFF_CODERSETUP,4,2            ; @TIFF_CODERSETUP
	.comm	_TIFF_BUF4WRITE,4,2             ; @TIFF_BUF4WRITE
	.comm	_TIFF_NOREADRAW,4,2             ; @TIFF_NOREADRAW
	.no_dead_strip	_TIFFStartStrip
.subsections_via_symbols
