	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_pattern                    ## -- Begin function add_pattern
	.p2align	4, 0x90
_add_pattern:                           ## @add_pattern
	.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
	movl	%r8d, %r14d
	movq	%rcx, %r13
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, -56(%rbp)
	leaq	-56(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	leaq	-60(%rbp), %rcx
	callq	_parse_path_pattern
	movq	_PATTERN_FLAG_MUSTBEDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -44(%rbp)
	je	LBB0_2
## %bb.1:
	movq	-56(%rbp), %rdx
	movl	-48(%rbp), %ecx
	callq	_FLEXPTR_ALLOC_MEM
                                        ## implicit-def: $rbx
	jmp	LBB0_3
LBB0_2:
	movl	$48, %edi
	callq	_xmalloc
	movq	%rax, %rbx
	movq	-56(%rbp), %rax
	movq	%rax, (%rbx)
LBB0_3:
	movl	-48(%rbp), %eax
	movl	%eax, 8(%rbx)
	movl	-60(%rbp), %eax
	movl	%eax, 12(%rbx)
	movq	%r12, 16(%rbx)
	movl	%r15d, 24(%rbx)
	movl	-44(%rbp), %eax
	movl	%eax, 28(%rbx)
	movl	%r14d, 32(%rbx)
	movq	(%r13), %rsi
	movq	8(%r13), %rdi
	incq	%rsi
	movl	16(%r13), %edx
	callq	_ALLOC_GROW
	movq	(%r13), %rax
	movq	8(%r13), %rcx
	leaq	1(%rax), %rdx
	movq	%rdx, (%r13)
	movq	%rbx, (%rcx,%rax,8)
	movq	%r13, 40(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PATTERN_FLAG_MUSTBEDIR,4,2     ## @PATTERN_FLAG_MUSTBEDIR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_pattern                    ; -- Begin function add_pattern
	.p2align	2
_add_pattern:                           ; @add_pattern
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x4
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	str	x0, [sp, #24]
	add	x0, sp, #24
	add	x1, sp, #20
	add	x2, sp, #16
	add	x3, sp, #12
	bl	_parse_path_pattern
	ldr	w8, [sp, #16]
Lloh0:
	adrp	x9, _PATTERN_FLAG_MUSTBEDIR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PATTERN_FLAG_MUSTBEDIR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x2, [sp, #24]
	ldr	w3, [sp, #20]
	bl	_FLEXPTR_ALLOC_MEM
                                        ; implicit-def: $x23
	b	LBB0_3
LBB0_2:
	mov	w0, #48
	bl	_xmalloc
	mov	x23, x0
	ldr	x8, [sp, #24]
	str	x8, [x0]
LBB0_3:
	ldr	w8, [sp, #20]
	ldr	w9, [sp, #12]
	stp	w8, w9, [x23, #8]
	str	x22, [x23, #16]
	ldr	w8, [sp, #16]
	stp	w21, w8, [x23, #24]
	str	w20, [x23, #32]
	ldp	x8, x0, [x19]
	add	x1, x8, #1
	ldr	w2, [x19, #16]
	bl	_ALLOC_GROW
	ldp	x9, x8, [x19]
	add	x10, x9, #1
	str	x10, [x19]
	str	x23, [x8, x9, lsl #3]
	str	x19, [x23, #40]
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PATTERN_FLAG_MUSTBEDIR,4,2     ; @PATTERN_FLAG_MUSTBEDIR
.subsections_via_symbols
