	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_rr_leaf
_find_rr_leaf:                          ## @find_rr_leaf
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movl	%r8d, %r15d
	movl	%ecx, %r12d
	movq	%rdx, %rbx
	movl	$-1, -44(%rbp)
	testq	%rsi, %rsi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	movq	%rsi, %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, (%r13)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	leaq	-44(%rbp), %rcx
	movq	%rax, %r8
	movq	%r14, %r9
	callq	_find_match
	movq	8(%r13), %r13
	testq	%r13, %r13
	jne	LBB0_3
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
LBB0_5:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %r13
	testq	%r13, %r13
	je	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	-56(%rbp), %r13                 ## 8-byte Folded Reload
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%rbx, (%r13)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	leaq	-44(%rbp), %rcx
	movq	%rax, %r8
	movq	%r14, %r9
	callq	_find_match
	movq	8(%r13), %r13
	testq	%r13, %r13
	jne	LBB0_7
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_rr_leaf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_rr_leaf
_find_rr_leaf:                          ; @find_rr_leaf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	mov	w8, #-1
	str	w8, [sp, #12]
	mov	x4, #0
	cbz	x1, LBB0_4
; %bb.1:
	mov	x25, x23
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	cmp	x8, x22
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x3, sp, #12
	mov	x0, x25
	mov	x1, x21
	mov	x2, x20
	mov	x5, x19
	bl	_find_match
	mov	x4, x0
	ldr	x25, [x25, #8]
	cbnz	x25, LBB0_2
LBB0_4:
	ldr	x24, [x24]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x24, #0
	ccmp	x24, x23, #4, ne
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x24]
	cmp	x8, x22
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x3, sp, #12
	mov	x0, x24
	mov	x1, x21
	mov	x2, x20
	mov	x5, x19
	bl	_find_match
	mov	x4, x0
	ldr	x24, [x24, #8]
	b	LBB0_5
LBB0_8:
	mov	x0, x4
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_rr_leaf
.subsections_via_symbols
