	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _TIFFFindFieldByName
__TIFFFindFieldByName:                  ## @_TIFFFindFieldByName
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -112(%rbp)
	movq	$0, -48(%rbp)
	movq	_TIFF_NOTYPE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -88(%rbp)
	leaq	-112(%rbp), %rax
	movq	%rax, -32(%rbp)
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rax), %rdi
	movq	%r15, %rsi
	callq	_streq
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_TIFF_ANY@GOTPCREL(%rip), %rcx
	movq	(%rbx), %rax
	cmpq	%r14, (%rcx)
	je	LBB0_10
## %bb.3:
	cmpq	%r14, 8(%rax)
	je	LBB0_10
LBB0_4:
	movl	12(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_5
## %bb.6:
	movq	%r15, -112(%rbp)
	movq	%r14, -104(%rbp)
	leaq	8(%rbx), %rdx
	movq	_tagNameCompare@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-32(%rbp), %rdi
	movl	$8, %ecx
	callq	_td_lfind
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	(%rax), %rax
	jmp	LBB0_9
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_7:
	xorl	%eax, %eax
LBB0_9:
	movq	%rax, (%rbx)
LBB0_10:
	addq	$88, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TIFF_NOTYPE,4,2                ## @TIFF_NOTYPE
	.comm	_TIFF_ANY,8,3                   ## @TIFF_ANY
	.comm	_tagNameCompare,4,2             ## @tagNameCompare
	.no_dead_strip	__TIFFFindFieldByName
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _TIFFFindFieldByName
__TIFFFindFieldByName:                  ; @_TIFFFindFieldByName
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x2
	mov	x21, x1
	mov	x19, x0
	movi.2d	v0, #0000000000000000
	str	xzr, [sp, #80]
	stp	q0, q0, [sp, #48]
Lloh0:
	adrp	x8, _TIFF_NOTYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TIFF_NOTYPE@GOTPAGEOFF]
	stp	q0, q0, [sp, #16]
Lloh2:
	ldrsw	x8, [x8]
	str	x8, [sp, #40]
	add	x8, sp, #16
	str	x8, [sp, #8]
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x0, [x8]
	mov	x1, x21
	bl	_streq
	cbz	x0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _TIFF_ANY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TIFF_ANY@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x0, [x19]
	cmp	x8, x20
	b.eq	LBB0_9
; %bb.3:
	ldr	x8, [x0, #8]
	cmp	x8, x20
	b.eq	LBB0_9
LBB0_4:
	ldr	w1, [x19, #12]
	cbz	w1, LBB0_8
; %bb.5:
	stp	x21, x20, [sp, #16]
	add	x2, x19, #8
Lloh6:
	adrp	x8, _tagNameCompare@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tagNameCompare@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	add	x0, sp, #8
	mov	w3, #8
	bl	_td_lfind
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x0, [x0]
LBB0_7:
	str	x0, [x19]
	b	LBB0_9
LBB0_8:
	mov	x0, #0
LBB0_9:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TIFF_NOTYPE,4,2                ; @TIFF_NOTYPE
	.comm	_TIFF_ANY,8,3                   ; @TIFF_ANY
	.comm	_tagNameCompare,4,2             ; @tagNameCompare
	.no_dead_strip	__TIFFFindFieldByName
.subsections_via_symbols
