	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function selectfile
_selectfile:                            ## @selectfile
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	cmpq	$0, (%rdi)
	je	LBB0_10
## %bb.1:
	movq	%rdi, %r15
	movq	8(%rdi), %rsi
	cmpb	$46, (%rsi)
	jne	LBB0_5
## %bb.2:
	movb	1(%rsi), %al
	testb	%al, %al
	je	LBB0_10
## %bb.3:
	cmpb	$46, %al
	jne	LBB0_5
## %bb.4:
	cmpb	$0, 2(%rsi)
	je	LBB0_10
LBB0_5:
	movq	_excludes_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.6:
	movl	(%rbx), %edi
	movq	_FNM_PATHNAME@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edx
	callq	_fnmatch
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r15), %rsi
	movl	(%rbx), %edi
	jmp	LBB0_7
LBB0_9:
	movl	$1, %r14d
LBB0_10:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_excludes_list,8,3              ## @excludes_list
	.comm	_FNM_PATHNAME,4,2               ## @FNM_PATHNAME
	.no_dead_strip	_selectfile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function selectfile
_selectfile:                            ; @selectfile
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	x1, [x0, #8]
	ldrb	w8, [x1]
	cmp	w8, #46
	b.ne	LBB0_5
; %bb.2:
	ldrb	w8, [x1, #1]
	cbz	w8, LBB0_10
; %bb.3:
	cmp	w8, #46
	b.ne	LBB0_5
; %bb.4:
	ldrb	w8, [x1, #2]
	cbz	w8, LBB0_10
LBB0_5:
Lloh0:
	adrp	x8, _excludes_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _excludes_list@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	cbz	x20, LBB0_11
; %bb.6:
	ldr	w0, [x20]
Lloh3:
	adrp	x21, _FNM_PATHNAME@GOTPAGE
Lloh4:
	ldr	x21, [x21, _FNM_PATHNAME@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x21]
	bl	_fnmatch
	cbz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x20, [x20, #8]
	cbz	x20, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x1, [x19, #8]
	ldr	w0, [x20]
	b	LBB0_7
LBB0_10:
	mov	w0, #0
	b	LBB0_12
LBB0_11:
	mov	w0, #1
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_excludes_list,8,3              ; @excludes_list
	.comm	_FNM_PATHNAME,4,2               ; @FNM_PATHNAME
	.no_dead_strip	_selectfile
.subsections_via_symbols
