	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_match_pathname                 ## -- Begin function match_pathname
	.p2align	4, 0x90
_match_pathname:                        ## @match_pathname
	.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
	xorl	%r14d, %r14d
	cmpb	$47, (%r8)
	sete	%r15b
	xorl	%ebx, %ebx
	cmpl	%ecx, %esi
	jle	LBB0_10
## %bb.1:
	movl	%ecx, %r13d
	movl	%esi, %r12d
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.2:
	movslq	%r13d, %rax
	cmpb	$47, (%rdi,%rax)
	jne	LBB0_10
LBB0_3:
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rdx, %rsi
	movl	%r13d, %edx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_fspathncmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.4:
	movl	16(%rbp), %esi
	movb	%r15b, %r14b
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	addq	%r14, %rdi
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	subl	%r14d, %r8d
	subl	%r14d, %esi
	testl	%r13d, %r13d
	movl	%r13d, %ecx
	notl	%ecx
	cmovel	%r13d, %ecx
	addl	%r12d, %ecx
	movslq	%r12d, %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	%rax, %rdx
	movslq	%ecx, %rax
	subq	%rax, %rdx
	testl	%r8d, %r8d
	je	LBB0_9
## %bb.5:
	subl	%r8d, %ecx
	jl	LBB0_10
## %bb.6:
	movl	%ecx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rsi
	movl	%r8d, %edx
	movl	%r8d, %r13d
	callq	_fspathncmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.7:
	movl	%r12d, %eax
	subl	%r13d, %eax
	movl	$1, %ebx
	movl	%eax, %esi
	orl	%r15d, %eax
	je	LBB0_10
## %bb.8:
	movslq	%r13d, %rax
	movq	%r14, %rdi
	addq	%rax, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	%rax, %rdx
	movl	%r15d, %ecx
LBB0_9:
	movq	_WM_PATHNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_fnmatch_icase_mem
	xorl	%ebx, %ebx
	testq	%rax, %rax
	sete	%bl
LBB0_10:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WM_PATHNAME,4,2                ## @WM_PATHNAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_match_pathname                 ; -- Begin function match_pathname
	.p2align	2
_match_pathname:                        ; @match_pathname
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x8, x4
	ldrb	w9, [x8], #1
	cmp	w9, #47
	cset	w25, eq
	csel	x19, x4, x8, ne
	cmp	w1, w3
	b.le	LBB0_4
; %bb.1:
	mov	x20, x6
	mov	x23, x5
	mov	x21, x3
	mov	x22, x1
	mov	x24, x0
	cbz	w3, LBB0_3
; %bb.2:
	ldrb	w8, [x24, w21, sxtw]
	cmp	w8, #47
	b.ne	LBB0_4
LBB0_3:
	mov	x0, x24
	mov	x1, x2
	mov	x2, x21
	bl	_fspathncmp
	cbz	x0, LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	sub	w20, w20, w25
	cmp	w21, #0
	csinv	w8, wzr, w21, eq
	add	w21, w8, w22
	add	x8, x24, w22, sxtw
	sub	x22, x8, w21, sxtw
	sub	w23, w23, w25
	cbz	w23, LBB0_11
; %bb.7:
	subs	w21, w21, w23
	b.lt	LBB0_4
; %bb.8:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_fspathncmp
	cbnz	x0, LBB0_4
; %bb.9:
	sub	w20, w20, w23
	orr	w8, w20, w21
	cbz	w8, LBB0_12
; %bb.10:
	sxtw	x8, w23
	add	x19, x19, x8
	add	x22, x22, x8
LBB0_11:
Lloh0:
	adrp	x8, _WM_PATHNAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WM_PATHNAME@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x21
	bl	_fnmatch_icase_mem
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_5
LBB0_12:
	mov	w0, #1
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WM_PATHNAME,4,2                ; @WM_PATHNAME
.subsections_via_symbols
