	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_extension
_find_extension:                        ## @find_extension
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpl	$2, (%rax)
	jl	LBB0_3
## %bb.4:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rdx, %r15
	movq	(%rdx), %rdi
	cmpq	(%rax), %rdi
	jae	LBB0_3
## %bb.6:
	movq	%rsi, %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	shlq	$2, %rdi
	addq	8(%rax), %rdi
	movq	%r12, %rsi
	callq	_der_heim_oid_cmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r15), %rdi
	incq	%rdi
	movq	%rdi, (%r15)
	movq	8(%rbx), %rax
	cmpq	(%rax), %rdi
	jb	LBB0_7
	jmp	LBB0_12
LBB0_3:
	xorl	%r14d, %r14d
LBB0_12:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	8(%rbx), %rax
	movq	(%r15), %r14
	leaq	1(%r14), %rcx
	shlq	$2, %r14
	addq	8(%rax), %r14
	movq	%rcx, (%r15)
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_extension
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_extension
_find_extension:                        ; @find_extension
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.1:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_7
; %bb.2:
	mov	x20, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_7
; %bb.3:
	mov	x19, x2
	ldr	x9, [x2]
	ldr	x10, [x8]
	cmp	x9, x10
	b.hs	LBB0_7
; %bb.4:
	mov	x21, x1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	add	x0, x8, x9, lsl #2
	mov	x1, x21
	bl	_der_heim_oid_cmp
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19]
	add	x9, x8, #1
	str	x9, [x19]
	ldr	x8, [x20, #8]
	ldr	x10, [x8]
	cmp	x9, x10
	b.lo	LBB0_5
LBB0_7:
	mov	x0, #0
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #8]
	ldr	x9, [x19]
	add	x10, x9, #1
	str	x10, [x19]
	add	x0, x8, x9, lsl #2
	b	LBB0_8
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_extension
.subsections_via_symbols
