	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function path_matches
_path_matches:                          ## @path_matches
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movslq	%esi, %rax
	cmpb	$47, -1(%rax,%rdi)
	sete	%bl
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movq	(%rcx), %r11
	movl	8(%rcx), %r10d
	movl	12(%rcx), %r14d
	movq	_PATTERN_FLAG_MUSTBEDIR@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_5
## %bb.4:
	testb	%bl, %bl
	jne	LBB0_5
## %bb.7:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_5:
	movzbl	%bl, %ebx
	negl	%ebx
	movq	_PATTERN_FLAG_NODIR@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_6
## %bb.9:
	movslq	%edx, %rax
	addq	%rax, %rdi
	subl	%eax, %esi
	addl	%ebx, %esi
	movl	16(%rcx), %r8d
	movq	%r11, %rdx
	movl	%r10d, %ecx
	movl	%r14d, %r9d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_match_basename                 ## TAILCALL
LBB0_6:
	addl	%esi, %ebx
	movl	16(%rcx), %eax
	movl	%ebx, %esi
	movq	%r8, %rdx
	movl	%r9d, %ecx
	movq	%r11, %r8
	movl	%r10d, %r9d
	pushq	%r14
	pushq	%rax
	callq	_match_pathname
	addq	$16, %rsp
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PATTERN_FLAG_MUSTBEDIR,4,2     ## @PATTERN_FLAG_MUSTBEDIR
	.comm	_PATTERN_FLAG_NODIR,4,2         ## @PATTERN_FLAG_NODIR
	.no_dead_strip	_path_matches
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function path_matches
_path_matches:                          ; @path_matches
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_2
; %bb.1:
	add	x8, x0, w1, sxtw
	ldurb	w8, [x8, #-1]
	cmp	w8, #47
	cset	w10, eq
	b	LBB0_3
LBB0_2:
	mov	w10, #0
LBB0_3:
	ldr	w7, [x3, #12]
Lloh0:
	adrp	x8, _PATTERN_FLAG_MUSTBEDIR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PATTERN_FLAG_MUSTBEDIR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w7
	cmp	w8, #0
	ccmp	w10, #0, #0, ne
	b.eq	LBB0_6
; %bb.4:
	ldr	x9, [x3]
	ldr	w8, [x3, #8]
	sbfx	w10, w10, #0, #1
Lloh3:
	adrp	x11, _PATTERN_FLAG_NODIR@GOTPAGE
Lloh4:
	ldr	x11, [x11, _PATTERN_FLAG_NODIR@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	tst	w11, w7
	b.eq	LBB0_7
; %bb.5:
	add	x0, x0, w2, sxtw
	sub	w11, w1, w2
	add	w1, w11, w10
	ldr	w4, [x3, #16]
	mov	x2, x9
	mov	x3, x8
	mov	x5, x7
	b	_match_basename
LBB0_6:
	mov	w0, #0
	ret
LBB0_7:
	add	w1, w10, w1
	ldr	w6, [x3, #16]
	mov	x2, x4
	mov	x3, x5
	mov	x4, x9
	mov	x5, x8
	b	_match_pathname
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PATTERN_FLAG_MUSTBEDIR,4,2     ; @PATTERN_FLAG_MUSTBEDIR
	.comm	_PATTERN_FLAG_NODIR,4,2         ; @PATTERN_FLAG_NODIR
	.no_dead_strip	_path_matches
.subsections_via_symbols
