	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rn_match                       ## -- Begin function rn_match
	.p2align	4, 0x90
_rn_match:                              ## @rn_match
	.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	%rdi, %r14
	movq	(%rsi), %rbx
	movslq	(%rbx), %r15
	callq	_LEN
	cmpl	$0, 4(%rbx)
	movq	%rbx, %r12
	js	LBB0_3
## %bb.1:
	movq	%rbx, %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r12), %rcx
	movl	(%r14,%rcx,4), %ecx
	xorl	%edx, %edx
	testl	%ecx, 8(%r12)
	setne	%dl
	movq	64(%r12,%rdx,8), %r12
	cmpl	$0, 4(%r12)
	jns	LBB0_2
LBB0_3:
	movq	16(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	movl	(%rcx), %eax
LBB0_5:
	cmpl	%eax, %r15d
	jge	LBB0_9
## %bb.6:
	cltq
	leaq	(%r14,%rax,4), %rax
	movq	24(%r12), %rdx
	shlq	$2, %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%r15), %edi
	movl	(%rdx,%r15), %esi
	cmpl	%esi, %edi
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%r14,%r15), %rsi
	addq	$4, %rsi
	addq	$4, %r15
	cmpq	%rax, %rsi
	jb	LBB0_7
LBB0_9:
	movq	_RNF_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 32(%r12)
	je	LBB0_10
## %bb.35:
	addq	$40, %r12
	jmp	LBB0_36
LBB0_10:
	movq	%r12, %rbx
	jmp	LBB0_37
LBB0_11:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	xorl	%edi, %esi
	movzbl	%sil, %edx
	movl	$7, %eax
	cmpl	$2, %edx
	jb	LBB0_14
## %bb.12:
	movl	$7, %eax
	movl	%edx, %esi
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	shrl	%esi
	decl	%eax
	cmpl	$3, %edx
	movl	%esi, %edx
	ja	LBB0_13
LBB0_14:
	shrq	$2, %r15
	leal	(%rax,%r15,8), %edx
	movq	%r12, %rbx
	testq	%rcx, %rcx
	jne	LBB0_16
## %bb.15:
	movq	40(%r12), %rbx
LBB0_16:
	notl	%edx
	testq	%rbx, %rbx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_22
## %bb.17:
	movq	_RNF_NORMAL@GOTPCREL(%rip), %r13
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_rn_satisfies_leaf
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testq	%rax, %rax
	jne	LBB0_37
LBB0_21:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	40(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_22
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %eax
	testl	%eax, 32(%rbx)
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	cmpl	%edx, 4(%rbx)
	jl	LBB0_21
	jmp	LBB0_37
LBB0_22:
	movq	_RNF_NORMAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_23 Depth=1
	movl	$0, %ebx
	cmpq	-56(%rbp), %r12                 ## 8-byte Folded Reload
	je	LBB0_37
LBB0_23:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_24 Depth 2
                                        ##       Child Loop BB0_30 Depth 3
	movq	56(%r12), %r12
	movq	48(%r12), %r13
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_24 Depth=2
	cmpl	%edx, 4(%r13)
	jge	LBB0_27
LBB0_33:                                ##   in Loop: Header=BB0_24 Depth=2
	movq	16(%r13), %r13
LBB0_24:                                ##   Parent Loop BB0_23 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_30 Depth 3
	testq	%r13, %r13
	je	LBB0_34
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=2
	movl	(%rcx), %eax
	testl	%eax, (%r13)
	jne	LBB0_26
## %bb.28:                              ##   in Loop: Header=BB0_24 Depth=2
	movslq	(%r12), %rdi
	movl	%r15d, %esi
	callq	_min
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	8(%r13), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_rn_search_m
	movq	_RNF_NORMAL@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testq	%rax, %rax
	je	LBB0_33
## %bb.29:                              ##   in Loop: Header=BB0_24 Depth=2
	movq	%rax, %rbx
	movq	8(%r13), %rax
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_23 Depth=1
                                        ##     Parent Loop BB0_24 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	%rax, 16(%rbx)
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=3
	movq	40(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_30
	jmp	LBB0_33
LBB0_32:                                ##   in Loop: Header=BB0_24 Depth=2
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_rn_satisfies_leaf
	movq	_RNF_NORMAL@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testq	%rax, %rax
	je	LBB0_33
	jmp	LBB0_37
LBB0_27:
	addq	$24, %r13
	movq	%r13, %r12
LBB0_36:
	movq	(%r12), %rbx
LBB0_37:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RNF_ROOT,4,2                   ## @RNF_ROOT
	.comm	_RNF_NORMAL,4,2                 ## @RNF_NORMAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rn_match                       ; -- Begin function rn_match
	.p2align	2
_rn_match:                              ; @rn_match
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x24, [x1]
	ldrsw	x21, [x24]
	bl	_LEN
	ldr	w8, [x24, #4]
	tbnz	w8, #31, LBB0_11
; %bb.1:
	mov	w8, #72
	mov	w9, #64
	mov	x20, x24
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x10, [x20]
	ldr	w10, [x19, x10, lsl #2]
	ldr	w11, [x20, #8]
	tst	w10, w11
	csel	x10, x9, x8, eq
	ldr	x20, [x20, x10]
	ldr	w10, [x20, #4]
	tbz	w10, #31, LBB0_2
; %bb.3:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_5
LBB0_4:
	ldr	w0, [x8]
LBB0_5:
	cmp	w21, w0
	b.ge	LBB0_9
; %bb.6:
	ldr	x10, [x20, #24]
	lsl	x9, x21, #2
	add	x11, x19, w0, sxtw #2
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x19, x9]
	ldr	w13, [x10, x9]
	cmp	w12, w13
	b.ne	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x9, x9, #4
	add	x12, x19, x9
	cmp	x12, x11
	b.lo	LBB0_7
LBB0_9:
	ldr	w8, [x20, #32]
Lloh0:
	adrp	x9, _RNF_ROOT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RNF_ROOT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.10:
	add	x8, x20, #40
	b	LBB0_33
LBB0_11:
	mov	x20, x24
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_4
	b	LBB0_5
LBB0_12:
	mov	x22, x20
	b	LBB0_34
LBB0_13:
	eor	w10, w13, w12
	and	w11, w10, #0xff
	mov	w10, #7
	cmp	w11, #2
	b.lo	LBB0_15
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	lsr	w12, w11, #1
	sub	w10, w10, #1
	cmp	w11, #3
	mov	x11, x12
	b.hi	LBB0_14
LBB0_15:
	lsr	x21, x9, #2
	add	w9, w10, w21, lsl #3
	mov	x22, x20
	cbnz	x8, LBB0_17
; %bb.16:
	ldr	x22, [x20, #40]
LBB0_17:
	mvn	w25, w9
Lloh3:
	adrp	x26, _RNF_NORMAL@GOTPAGE
Lloh4:
	ldr	x26, [x26, _RNF_NORMAL@GOTPAGEOFF]
	cbnz	x22, LBB0_20
	b	LBB0_23
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_rn_satisfies_leaf
	cbnz	x0, LBB0_34
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	x22, [x22, #40]
	cbz	x22, LBB0_23
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22, #32]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	w8, [x22, #4]
	cmp	w8, w25
	b.lt	LBB0_19
	b	LBB0_34
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x22, #0
	cmp	x20, x24
	b.eq	LBB0_34
LBB0_23:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_26 Depth 2
                                        ;       Child Loop BB0_29 Depth 3
	ldr	x20, [x20, #56]
	ldr	x27, [x20, #48]
	cbnz	x27, LBB0_26
	b	LBB0_22
LBB0_24:                                ;   in Loop: Header=BB0_26 Depth=2
	ldr	w8, [x27, #4]
	cmp	w8, w25
	b.ge	LBB0_32
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=2
	ldr	x27, [x27, #16]
	cbz	x27, LBB0_22
LBB0_26:                                ;   Parent Loop BB0_23 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_29 Depth 3
	ldr	w8, [x27]
	ldr	w9, [x26]
	tst	w9, w8
	b.ne	LBB0_24
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	ldrsw	x0, [x20]
	mov	x1, x21
	bl	_min
	mov	x23, x0
	ldr	x2, [x27, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_rn_search_m
	cbz	x0, LBB0_25
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=2
	mov	x22, x0
	ldr	x8, [x27, #8]
LBB0_29:                                ;   Parent Loop BB0_23 Depth=1
                                        ;     Parent Loop BB0_26 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x9, [x22, #16]
	cmp	x9, x8
	b.eq	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=3
	ldr	x22, [x22, #40]
	cbnz	x22, LBB0_29
	b	LBB0_25
LBB0_31:                                ;   in Loop: Header=BB0_26 Depth=2
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_rn_satisfies_leaf
	cbz	x0, LBB0_25
	b	LBB0_34
LBB0_32:
	add	x8, x27, #24
LBB0_33:
	ldr	x22, [x8]
LBB0_34:
	mov	x0, x22
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RNF_ROOT,4,2                   ; @RNF_ROOT
	.comm	_RNF_NORMAL,4,2                 ; @RNF_NORMAL
.subsections_via_symbols
