	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TIFFFindField                  ## -- Begin function TIFFFindField
	.p2align	4, 0x90
_TIFFFindField:                         ## @TIFFFindField
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -96(%rbp)
	movq	$0, -32(%rbp)
	movq	_TIFF_NOTYPE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -72(%rbp)
	leaq	-96(%rbp), %rax
	movq	%rax, -16(%rbp)
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpq	%rsi, (%rax)
	jne	LBB0_4
## %bb.2:
	movq	_TIFF_ANY@GOTPCREL(%rip), %rcx
	cmpq	%rdx, (%rcx)
	je	LBB0_10
## %bb.3:
	cmpq	%rdx, 8(%rax)
	je	LBB0_10
LBB0_4:
	movl	12(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	%rsi, -96(%rbp)
	movq	%rdx, -88(%rbp)
	movl	8(%rbx), %edx
	movq	_tagCompare@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	leaq	-16(%rbp), %rdi
	movl	%eax, %esi
	movl	$8, %ecx
	callq	_bsearch
	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	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TIFF_NOTYPE,4,2                ## @TIFF_NOTYPE
	.comm	_TIFF_ANY,8,3                   ## @TIFF_ANY
	.comm	_tagCompare,4,2                 ## @tagCompare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TIFFFindField                  ; -- Begin function TIFFFindField
	.p2align	2
_TIFFFindField:                         ; @TIFFFindField
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	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	x0, [x0]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x0]
	cmp	x8, x1
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _TIFF_ANY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TIFF_ANY@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x2
	b.eq	LBB0_9
; %bb.3:
	ldr	x8, [x0, #8]
	cmp	x8, x2
	b.eq	LBB0_9
LBB0_4:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_8
; %bb.5:
	stp	x1, x2, [sp, #16]
	ldr	w2, [x19, #8]
Lloh6:
	adrp	x9, _tagCompare@GOTPAGE
Lloh7:
	ldr	x9, [x9, _tagCompare@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x9]
	add	x0, sp, #8
	mov	x1, x8
	mov	w3, #8
	bl	_bsearch
	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, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #128
	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	_tagCompare,4,2                 ; @tagCompare
.subsections_via_symbols
