	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function re_tag_conv
_re_tag_conv:                           ## @re_tag_conv
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdx), %rbx
	movl	$1, (%rcx)
	leaq	(%rbx,%rbx), %rcx
	callq	_GET_SPACE_RETW
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.1:
	movq	(%r14), %r12
	leaq	-1(%rbx), %r13
	movb	-1(%r12,%rbx), %r14b
	movl	%r14d, %eax
	orb	$16, %al
	cmpb	$63, %al
	jne	LBB0_2
## %bb.3:
	testq	%r13, %r13
	je	LBB0_21
## %bb.4:
	movb	-2(%r12,%rbx), %r14b
	addq	$-2, %rbx
	movq	%rbx, %rax
	cmpb	$36, %r14b
	jne	LBB0_7
LBB0_6:
	movq	%rax, %r13
LBB0_7:
	movb	(%r12), %al
	movl	%eax, %ecx
	orb	$16, %cl
	cmpb	$63, %cl
	jne	LBB0_10
## %bb.8:
	decq	%r13
	je	LBB0_18
## %bb.9:
	movb	1(%r12), %al
	incq	%r12
LBB0_10:
	leaq	L_.str(%rip), %r15
                                        ## implicit-def: $rbx
	cmpb	$92, %al
	jne	LBB0_14
	.p2align	4, 0x90
LBB0_12:
	movb	1(%r12), %al
	orb	$16, %al
	cmpb	$63, %al
	jne	LBB0_14
## %bb.13:
	incq	%r12
	decq	%r13
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_14:
	movq	%r15, %rdi
	callq	_L
	movsbl	(%r12), %esi
	movl	%eax, %edi
	callq	_STRCHR
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movb	$92, (%rbx)
	incq	%rbx
LBB0_16:
	movb	(%r12), %al
	movb	%al, (%rbx)
	incq	%rbx
	decq	%r13
	je	LBB0_19
## %bb.17:
	movb	1(%r12), %al
	incq	%r12
	cmpb	$92, %al
	je	LBB0_12
	jmp	LBB0_14
LBB0_2:
	movq	%r13, %rax
	movq	%rbx, %r13
	cmpb	$36, %r14b
	je	LBB0_6
	jmp	LBB0_7
LBB0_18:
                                        ## implicit-def: $rbx
LBB0_19:
	cmpb	$36, %r14b
	jne	LBB0_21
## %bb.20:
	movb	$36, (%rbx)
LBB0_21:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"^.[]$*"

	.no_dead_strip	_re_tag_conv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function re_tag_conv
_re_tag_conv:                           ; @re_tag_conv
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	ldr	x22, [x2]
	mov	w8, #1
	str	w8, [x3]
	lsl	x3, x22, #1
	bl	_GET_SPACE_RETW
	cbz	x22, LBB0_18
; %bb.1:
	ldr	x21, [x19]
	sub	x8, x22, #1
	ldrb	w20, [x21, x8]
	orr	w9, w20, #0x10
	cmp	w9, #63
	b.ne	LBB0_4
; %bb.2:
	cbz	x8, LBB0_18
; %bb.3:
	sub	x9, x22, #2
	ldrb	w20, [x21, x9]
	b	LBB0_5
LBB0_4:
	mov	x9, x8
	mov	x8, x22
LBB0_5:
	cmp	w20, #36
	csel	x22, x8, x9, ne
	ldrb	w8, [x21]
	orr	w9, w8, #0x10
	cmp	w9, #63
	b.ne	LBB0_8
; %bb.6:
	subs	x22, x22, #1
	b.eq	LBB0_15
; %bb.7:
	ldrb	w8, [x21, #1]!
LBB0_8:
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
	mov	w24, #92
                                        ; implicit-def: $x23
	cmp	w8, #92
	b.ne	LBB0_11
LBB0_9:
	mov	x8, x21
	ldrb	w9, [x8, #1]!
	orr	w9, w9, #0x10
	cmp	w9, #63
	b.ne	LBB0_11
; %bb.10:
	sub	x22, x22, #1
	mov	x21, x8
	b	LBB0_13
LBB0_11:
	mov	x0, x19
	bl	_L
	ldrsb	w1, [x21]
	bl	_STRCHR
	cbz	x0, LBB0_13
; %bb.12:
	strb	w24, [x23], #1
LBB0_13:
	ldrb	w8, [x21]
	strb	w8, [x23], #1
	subs	x22, x22, #1
	b.eq	LBB0_16
; %bb.14:
	ldrb	w8, [x21, #1]!
	cmp	w8, #92
	b.eq	LBB0_9
	b	LBB0_11
LBB0_15:
                                        ; implicit-def: $x23
LBB0_16:
	cmp	w20, #36
	b.ne	LBB0_18
; %bb.17:
	mov	w8, #36
	strb	w8, [x23]
LBB0_18:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"^.[]$*"

	.no_dead_strip	_re_tag_conv
.subsections_via_symbols
