	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checkInkNamesString
_checkInkNamesString:                   ## @checkInkNamesString
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %r8
	movq	%r8, %r10
	testq	%rsi, %rsi
	jle	LBB0_7
## %bb.1:
	movq	%rdx, %rax
	testq	%r8, %r8
	jle	LBB0_10
## %bb.2:
	addq	%rdx, %rsi
	movq	%rdx, %rcx
	movq	%r8, %r10
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	cmpq	%rsi, %rcx
	jae	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rcx, %rax
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$0, (%rax)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	incq	%rax
	cmpq	%rsi, %rax
	jb	LBB0_5
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	-1(%r10), %r9
	leaq	1(%rax), %rcx
	cmpq	$1, %r10
	movq	%r9, %r10
	jg	LBB0_3
## %bb.9:
	incq	%rax
LBB0_10:
	subq	%rdx, %rax
	popq	%rbp
	retq
LBB0_7:
	movl	(%rdi), %ecx
	movl	4(%rdi), %edi
	movq	%r8, %r9
	subq	%r10, %r9
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	callq	_TIFFErrorExt
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TIFFSetField"

L_.str.1:                               ## @.str.1
	.asciz	"%s: Invalid InkNames value; expecting %d names, found %d"

	.no_dead_strip	_checkInkNamesString
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checkInkNamesString
_checkInkNamesString:                   ; @checkInkNamesString
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x4, [x0, #8]
	mov	x9, x4
	cmp	x1, #1
	b.lt	LBB0_9
; %bb.1:
	cmp	x4, #1
	b.lt	LBB0_10
; %bb.2:
	add	x8, x2, x1
	mov	x10, x2
	mov	x9, x4
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	x10, x8
	b.hs	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x11, x10
	add	x10, x10, #1
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldurb	w12, [x10, #-1]
	cbz	w12, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x11, x11, #1
	add	x10, x10, #1
	cmp	x8, x11
	b.ne	LBB0_5
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	subs	x9, x9, #1
	b.gt	LBB0_3
; %bb.8:
	add	x8, x11, #1
	b	LBB0_11
LBB0_9:
	ldp	w3, w8, [x0]
	sub	x5, x4, x9
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x8
	bl	_TIFFErrorExt
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x8, x2
LBB0_11:
	sub	x0, x8, x2
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TIFFSetField"

l_.str.1:                               ; @.str.1
	.asciz	"%s: Invalid InkNames value; expecting %d names, found %d"

	.no_dead_strip	_checkInkNamesString
.subsections_via_symbols
