	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_wildcard_part
_get_wildcard_part:                     ## @get_wildcard_part
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%esi, %esi
	jle	LBB0_11
## %bb.1:
	movq	%rdi, %r12
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movslq	%esi, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	movq	%rdi, %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	callq	_ISWORDCHR
	xorl	%r15d, %r15d
	movl	$0, %ebx
	testq	%rax, %rax
	jne	LBB0_12
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_pg_mblen
	cltq
	addq	%rax, %r13
	movq	%r13, %rax
	subq	%r12, %rax
	movl	%r15d, %r14d
	cmpq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	jge	LBB0_11
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	testl	%ebx, %ebx
	jne	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	callq	_ISESCAPECHAR
	movl	$1, %ebx
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%r14d, %r15d
	jmp	LBB0_3
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_ISWILDCARDCHAR
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ebx, %ebx
	movl	$1, %r15d
	jmp	LBB0_3
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_ISWORDCHR
	xorl	%r15d, %r15d
	movl	$0, %ebx
	testq	%rax, %rax
	je	LBB0_3
	jmp	LBB0_13
LBB0_11:
	xorl	%r13d, %r13d
	jmp	LBB0_34
LBB0_12:
	movl	$1, %r15d
LBB0_13:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rbx
	testl	%r14d, %r14d
	jne	LBB0_20
## %bb.14:
	movq	_LPADDING@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	%rcx, %rbx
	jle	LBB0_20
## %bb.15:
	movb	$32, (%rcx)
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	incl	(%rdx)
	cmpl	$2, (%rax)
	jl	LBB0_17
## %bb.16:
	leaq	2(%rcx), %rbx
	movb	$32, 1(%rcx)
	incl	(%rdx)
	jmp	LBB0_20
LBB0_17:
	leaq	1(%rcx), %rbx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_20 Depth=1
	callq	_ISESCAPECHAR
	testq	%rax, %rax
	je	LBB0_24
## %bb.19:                              ##   in Loop: Header=BB0_20 Depth=1
	movslq	%r14d, %rax
	movl	$1, %r15d
	addq	%rax, %r13
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rax
	subq	%r12, %rax
	cmpq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	jge	LBB0_27
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%r13, %rdi
	callq	_pg_mblen
	movl	%eax, %r14d
	movq	%r13, %rdi
	testl	%r15d, %r15d
	je	LBB0_18
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	callq	_ISWORDCHR
	testq	%rax, %rax
	je	LBB0_26
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
	movslq	%r14d, %rax
	addq	%rax, %rbx
	xorl	%r15d, %r15d
	addq	%rax, %r13
	jmp	LBB0_20
LBB0_24:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%r13, %rdi
	callq	_ISWILDCARDCHAR
	testq	%rax, %rax
	jne	LBB0_30
## %bb.25:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%r13, %rdi
	callq	_ISWORDCHR
	testq	%rax, %rax
	jne	LBB0_23
	jmp	LBB0_27
LBB0_26:
	decq	%r13
LBB0_27:
	movq	_RPADDING@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_30
## %bb.28:
	movb	$32, (%rbx)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	incl	(%rcx)
	cmpl	$2, (%rax)
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	jl	LBB0_31
## %bb.29:
	movb	$32, 1(%rbx)
	addq	$2, %rbx
	incl	(%rcx)
	jmp	LBB0_32
LBB0_30:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_33
LBB0_31:
	incq	%rbx
LBB0_32:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_33:
	subl	%eax, %ebx
	movl	%ebx, (%rdx)
LBB0_34:
	movq	%r13, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LPADDING,4,2                   ## @LPADDING
	.comm	_RPADDING,4,2                   ## @RPADDING
	.no_dead_strip	_get_wildcard_part
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_wildcard_part
_get_wildcard_part:                     ; @get_wildcard_part
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
                                        ; kill: def $w1 killed $w1 def $x1
	cmp	w1, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x22, x4
	mov	x19, x3
	mov	x20, x2
	mov	x23, x0
	mov	w24, #0
	mov	w25, #0
	sxtw	x26, w1
	mov	x21, x0
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_ISESCAPECHAR
	cbz	x0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w24, #1
	mov	x28, x25
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_pg_mblen
	add	x21, x21, w0, sxtw
	sub	x8, x21, x23
	cmp	x8, x26
	mov	x25, x28
	b.ge	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	cbz	w24, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_ISWORDCHR
	cbnz	x0, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w28, #0
	mov	w24, #0
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_ISWILDCARDCHAR
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w24, #0
	mov	w28, #1
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_ISWORDCHR
	mov	w28, #0
	mov	w24, #0
	mov	w27, #0
	cbz	x0, LBB0_4
	b	LBB0_13
LBB0_11:
	mov	x21, #0
	b	LBB0_33
LBB0_12:
	mov	w27, #1
LBB0_13:
	str	wzr, [x22]
	mov	x24, x20
	cbnz	w25, LBB0_19
; %bb.14:
Lloh0:
	adrp	x8, _LPADDING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LPADDING@GOTPAGEOFF]
	ldr	w9, [x8]
	mov	x24, x20
	cmp	w9, #1
	b.lt	LBB0_19
; %bb.15:
	mov	w9, #32
	mov	x24, x20
	strb	w9, [x24], #1
	ldr	w10, [x22]
	add	w10, w10, #1
	str	w10, [x22]
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_19
; %bb.16:
	add	x24, x20, #2
	strb	w9, [x20, #1]
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=1
	bl	_ISESCAPECHAR
	cbz	x0, LBB0_24
; %bb.18:                               ;   in Loop: Header=BB0_19 Depth=1
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	sxtw	x8, w25
	mov	w27, #1
	add	x21, x21, x8
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	sub	x8, x21, x23
	cmp	x8, x26
	b.ge	LBB0_28
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x21
	bl	_pg_mblen
	mov	x25, x0
	mov	x0, x21
	cbz	w27, LBB0_17
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	bl	_ISWORDCHR
	cbz	x0, LBB0_27
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x24
	mov	x1, x21
	mov	x2, x25
	bl	_memcpy
	mov	w27, #0
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
LBB0_23:                                ;   in Loop: Header=BB0_19 Depth=1
	sxtw	x8, w25
	add	x24, x24, x8
	add	x21, x21, x8
	b	LBB0_19
LBB0_24:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x21
	bl	_ISWILDCARDCHAR
	cbnz	x0, LBB0_32
; %bb.25:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x21
	bl	_ISWORDCHR
	cbz	x0, LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x24
	mov	x1, x21
	mov	x2, x25
	bl	_memcpy
	mov	w27, #0
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	b	LBB0_23
LBB0_27:
	sub	x21, x21, #1
LBB0_28:
Lloh2:
	adrp	x9, _RPADDING@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RPADDING@GOTPAGEOFF]
	ldr	w8, [x9]
	cmp	w8, #1
	b.lt	LBB0_32
; %bb.29:
	mov	w8, #32
	mov	x10, x24
	strb	w8, [x10], #1
	ldr	w11, [x22]
	add	w11, w11, #1
	str	w11, [x22]
	ldr	w9, [x9]
	cmp	w9, #2
	b.lt	LBB0_31
; %bb.30:
	strb	w8, [x24, #1]
	add	x24, x24, #2
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	b	LBB0_32
LBB0_31:
	mov	x24, x10
LBB0_32:
	sub	w8, w24, w20
	str	w8, [x19]
LBB0_33:
	mov	x0, x21
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_LPADDING,4,2                   ; @LPADDING
	.comm	_RPADDING,4,2                   ; @RPADDING
	.no_dead_strip	_get_wildcard_part
.subsections_via_symbols
