	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PickSeparateCase
_PickSeparateCase:                      ## @PickSeparateCase
	.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	%rdi, %rbx
	movl	32(%rdi), %edi
	callq	_TIFFIsTiled
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_gtStripSeparate@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_gtTileSeparate@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movq	$0, 16(%rbx)
	movl	(%rbx), %ecx
	leal	-130(%rcx), %edx
	cmpl	$3, %edx
	jae	LBB0_4
## %bb.9:
	movl	4(%rbx), %eax
	cmpl	$16, %eax
	je	LBB0_17
## %bb.10:
	cmpl	$8, %eax
	jne	LBB0_32
## %bb.11:
	movl	8(%rbx), %eax
	movq	_EXTRASAMPLE_ASSOCALPHA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
## %bb.12:
	movq	_putRGBAAseparate8bittile@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_4:
	cmpl	$128, %ecx
	je	LBB0_26
## %bb.5:
	cmpl	$129, %ecx
	jne	LBB0_33
## %bb.6:
	cmpl	$8, 4(%rbx)
	jne	LBB0_32
## %bb.7:
	cmpl	$4, 12(%rbx)
	jne	LBB0_32
## %bb.8:
	movl	$1, 8(%rbx)
	movq	_putCMYKseparate8bittile@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_17:
	movl	8(%rbx), %r14d
	movq	_EXTRASAMPLE_ASSOCALPHA@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_20
## %bb.18:
	movq	%rbx, %rdi
	callq	_BuildMapBitdepth16To8
	testl	%eax, %eax
	je	LBB0_32
## %bb.19:
	movq	_putRGBAAseparate16bittile@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_26:
	cmpl	$8, 4(%rbx)
	jne	LBB0_32
## %bb.27:
	cmpl	$3, 12(%rbx)
	jne	LBB0_32
## %bb.28:
	movq	%rbx, %rdi
	callq	_initYCbCrConversion
	testl	%eax, %eax
	je	LBB0_32
## %bb.29:
	movl	32(%rbx), %edi
	movq	_TIFFTAG_YCBCRSUBSAMPLING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	callq	_TIFFGetFieldDefaulted
	movl	-32(%rbp), %eax
	shll	$4, %eax
	orl	-28(%rbp), %eax
	cmpl	$17, %eax
	jne	LBB0_32
## %bb.30:
	movq	_putseparate8bitYCbCr11tile@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_13:
	movq	_EXTRASAMPLE_UNASSALPHA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_16
## %bb.14:
	movq	%rbx, %rdi
	callq	_BuildMapUaToAa
	testl	%eax, %eax
	je	LBB0_32
## %bb.15:
	movq	_putRGBUAseparate8bittile@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_20:
	movq	_EXTRASAMPLE_UNASSALPHA@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_BuildMapBitdepth16To8
	cmpl	%r15d, %r14d
	jne	LBB0_24
## %bb.21:
	testl	%eax, %eax
	je	LBB0_32
## %bb.22:
	movq	%rbx, %rdi
	callq	_BuildMapUaToAa
	testl	%eax, %eax
	je	LBB0_32
## %bb.23:
	movq	_putRGBUAseparate16bittile@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_16:
	movq	_putRGBseparate8bittile@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_24:
	testl	%eax, %eax
	je	LBB0_32
## %bb.25:
	movq	_putRGBseparate16bittile@GOTPCREL(%rip), %rax
LBB0_31:
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
LBB0_32:
	movq	24(%rbx), %rax
LBB0_33:
	testq	%rax, %rax
	je	LBB0_34
## %bb.35:
	xorl	%eax, %eax
	cmpq	$0, 16(%rbx)
	setne	%al
	jmp	LBB0_36
LBB0_34:
	xorl	%eax, %eax
LBB0_36:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gtTileSeparate,8,3             ## @gtTileSeparate
	.comm	_gtStripSeparate,8,3            ## @gtStripSeparate
	.comm	_EXTRASAMPLE_ASSOCALPHA,4,2     ## @EXTRASAMPLE_ASSOCALPHA
	.comm	_putRGBAAseparate8bittile,8,3   ## @putRGBAAseparate8bittile
	.comm	_EXTRASAMPLE_UNASSALPHA,4,2     ## @EXTRASAMPLE_UNASSALPHA
	.comm	_putRGBUAseparate8bittile,8,3   ## @putRGBUAseparate8bittile
	.comm	_putRGBseparate8bittile,8,3     ## @putRGBseparate8bittile
	.comm	_putRGBAAseparate16bittile,8,3  ## @putRGBAAseparate16bittile
	.comm	_putRGBUAseparate16bittile,8,3  ## @putRGBUAseparate16bittile
	.comm	_putRGBseparate16bittile,8,3    ## @putRGBseparate16bittile
	.comm	_putCMYKseparate8bittile,8,3    ## @putCMYKseparate8bittile
	.comm	_TIFFTAG_YCBCRSUBSAMPLING,4,2   ## @TIFFTAG_YCBCRSUBSAMPLING
	.comm	_putseparate8bitYCbCr11tile,8,3 ## @putseparate8bitYCbCr11tile
	.no_dead_strip	_PickSeparateCase
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PickSeparateCase
_PickSeparateCase:                      ; @PickSeparateCase
	.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, x0
	ldr	w0, [x0, #32]
	bl	_TIFFIsTiled
Lloh0:
	adrp	x8, _gtTileSeparate@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gtTileSeparate@GOTPAGEOFF]
Lloh2:
	adrp	x9, _gtStripSeparate@GOTPAGE
Lloh3:
	ldr	x9, [x9, _gtStripSeparate@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	x8, [x8]
	stp	xzr, x8, [x19, #16]
	ldr	w9, [x19]
	sub	w10, w9, #130
	cmp	w10, #3
	b.hs	LBB0_5
; %bb.1:
	ldr	w8, [x19, #4]
	cmp	w8, #16
	b.eq	LBB0_10
; %bb.2:
	cmp	w8, #8
	b.ne	LBB0_29
; %bb.3:
	ldr	w8, [x19, #8]
Lloh4:
	adrp	x9, _EXTRASAMPLE_ASSOCALPHA@GOTPAGE
Lloh5:
	ldr	x9, [x9, _EXTRASAMPLE_ASSOCALPHA@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.4:
Lloh7:
	adrp	x8, _putRGBAAseparate8bittile@GOTPAGE
Lloh8:
	ldr	x8, [x8, _putRGBAAseparate8bittile@GOTPAGEOFF]
	b	LBB0_28
LBB0_5:
	cmp	w9, #128
	b.eq	LBB0_13
; %bb.6:
	cmp	w9, #129
	b.ne	LBB0_30
; %bb.7:
	ldr	w8, [x19, #4]
	cmp	w8, #8
	b.ne	LBB0_29
; %bb.8:
	ldr	w8, [x19, #12]
	cmp	w8, #4
	b.ne	LBB0_29
; %bb.9:
	mov	w8, #1
	str	w8, [x19, #8]
Lloh9:
	adrp	x8, _putCMYKseparate8bittile@GOTPAGE
Lloh10:
	ldr	x8, [x8, _putCMYKseparate8bittile@GOTPAGEOFF]
	b	LBB0_28
LBB0_10:
	ldr	w20, [x19, #8]
Lloh11:
	adrp	x8, _EXTRASAMPLE_ASSOCALPHA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EXTRASAMPLE_ASSOCALPHA@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_21
; %bb.11:
	mov	x0, x19
	bl	_BuildMapBitdepth16To8
	cbz	w0, LBB0_29
; %bb.12:
Lloh14:
	adrp	x8, _putRGBAAseparate16bittile@GOTPAGE
Lloh15:
	ldr	x8, [x8, _putRGBAAseparate16bittile@GOTPAGEOFF]
	b	LBB0_28
LBB0_13:
	ldr	w8, [x19, #4]
	cmp	w8, #8
	b.ne	LBB0_29
; %bb.14:
	ldr	w8, [x19, #12]
	cmp	w8, #3
	b.ne	LBB0_29
; %bb.15:
	mov	x0, x19
	bl	_initYCbCrConversion
	cbz	w0, LBB0_29
; %bb.16:
	ldr	w0, [x19, #32]
Lloh16:
	adrp	x8, _TIFFTAG_YCBCRSUBSAMPLING@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TIFFTAG_YCBCRSUBSAMPLING@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	add	x2, sp, #12
	add	x3, sp, #8
	bl	_TIFFGetFieldDefaulted
	ldp	w9, w8, [sp, #8]
	orr	w8, w9, w8, lsl #4
	cmp	w8, #17
	b.ne	LBB0_29
; %bb.17:
Lloh19:
	adrp	x8, _putseparate8bitYCbCr11tile@GOTPAGE
Lloh20:
	ldr	x8, [x8, _putseparate8bitYCbCr11tile@GOTPAGEOFF]
	b	LBB0_28
LBB0_18:
Lloh21:
	adrp	x9, _EXTRASAMPLE_UNASSALPHA@GOTPAGE
Lloh22:
	ldr	x9, [x9, _EXTRASAMPLE_UNASSALPHA@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_25
; %bb.19:
	mov	x0, x19
	bl	_BuildMapUaToAa
	cbz	w0, LBB0_29
; %bb.20:
Lloh24:
	adrp	x8, _putRGBUAseparate8bittile@GOTPAGE
Lloh25:
	ldr	x8, [x8, _putRGBUAseparate8bittile@GOTPAGEOFF]
	b	LBB0_28
LBB0_21:
Lloh26:
	adrp	x8, _EXTRASAMPLE_UNASSALPHA@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EXTRASAMPLE_UNASSALPHA@GOTPAGEOFF]
Lloh28:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_BuildMapBitdepth16To8
	cmp	w20, w21
	b.ne	LBB0_26
; %bb.22:
	cbz	w0, LBB0_29
; %bb.23:
	mov	x0, x19
	bl	_BuildMapUaToAa
	cbz	w0, LBB0_29
; %bb.24:
Lloh29:
	adrp	x8, _putRGBUAseparate16bittile@GOTPAGE
Lloh30:
	ldr	x8, [x8, _putRGBUAseparate16bittile@GOTPAGEOFF]
	b	LBB0_28
LBB0_25:
Lloh31:
	adrp	x8, _putRGBseparate8bittile@GOTPAGE
Lloh32:
	ldr	x8, [x8, _putRGBseparate8bittile@GOTPAGEOFF]
	b	LBB0_28
LBB0_26:
	cbz	w0, LBB0_29
; %bb.27:
Lloh33:
	adrp	x8, _putRGBseparate16bittile@GOTPAGE
Lloh34:
	ldr	x8, [x8, _putRGBseparate16bittile@GOTPAGEOFF]
LBB0_28:
	ldr	x8, [x8]
	str	x8, [x19, #16]
LBB0_29:
	ldr	x8, [x19, #24]
LBB0_30:
	cbz	x8, LBB0_32
; %bb.31:
	ldr	x8, [x19, #16]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_33
LBB0_32:
	mov	w0, #0
LBB0_33:
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_gtTileSeparate,8,3             ; @gtTileSeparate
	.comm	_gtStripSeparate,8,3            ; @gtStripSeparate
	.comm	_EXTRASAMPLE_ASSOCALPHA,4,2     ; @EXTRASAMPLE_ASSOCALPHA
	.comm	_putRGBAAseparate8bittile,8,3   ; @putRGBAAseparate8bittile
	.comm	_EXTRASAMPLE_UNASSALPHA,4,2     ; @EXTRASAMPLE_UNASSALPHA
	.comm	_putRGBUAseparate8bittile,8,3   ; @putRGBUAseparate8bittile
	.comm	_putRGBseparate8bittile,8,3     ; @putRGBseparate8bittile
	.comm	_putRGBAAseparate16bittile,8,3  ; @putRGBAAseparate16bittile
	.comm	_putRGBUAseparate16bittile,8,3  ; @putRGBUAseparate16bittile
	.comm	_putRGBseparate16bittile,8,3    ; @putRGBseparate16bittile
	.comm	_putCMYKseparate8bittile,8,3    ; @putCMYKseparate8bittile
	.comm	_TIFFTAG_YCBCRSUBSAMPLING,4,2   ; @TIFFTAG_YCBCRSUBSAMPLING
	.comm	_putseparate8bitYCbCr11tile,8,3 ; @putseparate8bitYCbCr11tile
	.no_dead_strip	_PickSeparateCase
.subsections_via_symbols
