	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_custom_ext_find                ## -- Begin function custom_ext_find
	.p2align	4, 0x90
_custom_ext_find:                       ## @custom_ext_find
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %r8
	testq	%r8, %r8
	je	LBB0_9
## %bb.1:
	movq	8(%rdi), %rax
	movq	_ENDPOINT_BOTH@GOTPCREL(%rip), %rdi
	movq	(%rdi), %r9
	xorl	%edi, %edi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	addq	$16, %rax
	cmpq	%rdi, %r8
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edx, (%rax)
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rsi, %r9
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax), %r10
	cmpq	%rsi, %r10
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r9, %r10
	jne	LBB0_8
LBB0_6:
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.7:
	movq	%rdi, (%rcx)
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENDPOINT_BOTH,8,3              ## @ENDPOINT_BOTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_custom_ext_find                ; -- Begin function custom_ext_find
	.p2align	2
_custom_ext_find:                       ; @custom_ext_find
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	cbz	x9, LBB0_8
; %bb.1:
	mov	x8, #0
	ldr	x0, [x0, #8]
Lloh0:
	adrp	x10, _ENDPOINT_BOTH@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ENDPOINT_BOTH@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	add	x0, x0, #16
	cmp	x9, x8
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x0]
	cmp	w11, w2
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x10, x1
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x0, #8]
	cmp	x11, x1
	ccmp	x11, x10, #4, ne
	b.ne	LBB0_2
LBB0_6:
	cbz	x3, LBB0_9
; %bb.7:
	str	x8, [x3]
	ret
LBB0_8:
	mov	x0, #0
LBB0_9:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENDPOINT_BOTH,8,3              ; @ENDPOINT_BOTH
.subsections_via_symbols
