	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dirmatch
_dirmatch:                              ## @dirmatch
	.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	%rsi, %r15
	movq	%rdi, %r12
	testl	%edx, %edx
	je	LBB0_3
## %bb.1:
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movl	%ecx, %esi
	callq	_rrip_lookup_name
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %r14
	movq	-48(%rbp), %rbx
	xorl	%r13d, %r13d
	jmp	LBB0_4
LBB0_3:
	movl	8(%r15), %edi
	callq	_isonum_711
	movq	%rax, %rbx
	movq	%rax, -48(%rbp)
	movq	(%r15), %r14
	movb	$1, %r13b
LBB0_4:
	leal	-1(%rbx), %eax
	testl	%ebx, %ebx
	jle	LBB0_14
## %bb.5:
	movl	%eax, %eax
	addq	%r14, %rax
	incq	%rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r12
	incq	%r14
	decl	%ebx
	jle	LBB0_13
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r12), %ecx
	testb	%cl, %cl
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$47, %cl
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpb	(%r14), %cl
	je	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	testb	%r13b, %r13b
	jne	LBB0_28
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movsbl	%cl, %edi
	callq	_toupper
	cmpb	(%r14), %al
	je	LBB0_6
	jmp	LBB0_28
LBB0_12:
	decl	%ebx
	movb	$1, %dl
	movl	%ebx, %eax
	jmp	LBB0_15
LBB0_13:
	movl	$-1, %eax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_14:
	movb	(%r12), %cl
	xorl	%edx, %edx
LBB0_15:
	xorl	%r15d, %r15d
	cmpb	$47, %cl
	je	LBB0_17
## %bb.16:
	testb	%cl, %cl
	jne	LBB0_28
LBB0_17:
	testb	%dl, %dl
	je	LBB0_27
## %bb.18:
	movb	(%r14), %cl
	cmpb	$59, %cl
	je	LBB0_21
## %bb.19:
	cmpb	$46, %cl
	jne	LBB0_27
## %bb.20:
	cmpb	$59, 1(%r14)
	jne	LBB0_28
LBB0_21:
	incq	%r14
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	testl	%eax, %eax
	jle	LBB0_27
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	decl	%eax
	movzbl	(%r14), %ecx
	incq	%r14
	cmpb	$59, %cl
	je	LBB0_22
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	addb	$-58, %cl
	cmpb	$-11, %cl
	ja	LBB0_22
	jmp	LBB0_28
LBB0_27:
	movl	$1, %r15d
LBB0_28:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dirmatch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dirmatch
_dirmatch:                              ; @dirmatch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x1
	mov	x20, x0
	cbz	w2, LBB0_3
; %bb.1:
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x3
	bl	_rrip_lookup_name
	cbz	x0, LBB0_3
; %bb.2:
	mov	x19, x0
	mov	w22, #0
	ldr	x21, [sp, #8]
	subs	w8, w21, #1
	b.ge	LBB0_4
	b	LBB0_13
LBB0_3:
	ldr	w0, [x22, #8]
	bl	_isonum_711
	mov	x21, x0
	str	x0, [sp, #8]
	ldr	x19, [x22]
	mov	w22, #1
	subs	w8, w21, #1
	b.lt	LBB0_13
LBB0_4:
	add	x8, x19, w8, uxtw
	add	x23, x8, #1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x20, x20, #1
	add	x19, x19, #1
	sub	w21, w21, #1
	cmp	w21, #0
	b.le	LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x20]
	cbz	w9, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w9, #47
	b.eq	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x19]
	cmp	w9, w8
	b.eq	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	tbnz	w22, #0, LBB0_22
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	sxtb	w0, w9
	bl	_toupper
	ldrb	w8, [x19]
	cmp	w8, w0, uxtb
	b.eq	LBB0_5
	b	LBB0_22
LBB0_11:
	sub	w8, w21, #1
	mov	w10, #1
	b	LBB0_14
LBB0_12:
	mov	w8, #-1
	mov	x19, x23
LBB0_13:
	mov	w10, #0
	ldrb	w9, [x20]
LBB0_14:
	cmp	w9, #47
	ccmp	w9, #0, #4, ne
	b.ne	LBB0_22
; %bb.15:
	cbz	w10, LBB0_23
; %bb.16:
	ldrb	w9, [x19]
	cmp	w9, #59
	b.eq	LBB0_19
; %bb.17:
	cmp	w9, #46
	b.ne	LBB0_23
; %bb.18:
	ldrb	w9, [x19, #1]
	cmp	w9, #59
	b.ne	LBB0_22
LBB0_19:
	add	x9, x19, #1
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	subs	w8, w8, #1
	b.lt	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	ldrb	w10, [x9], #1
	sub	w11, w10, #58
	cmp	w10, #59
	ccmn	w11, #11, #2, ne
	b.hi	LBB0_20
LBB0_22:
	mov	w0, #0
	b	LBB0_24
LBB0_23:
	mov	w0, #1
LBB0_24:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dirmatch
.subsections_via_symbols
