	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_basic_regex_quote_buf          ## -- Begin function basic_regex_quote_buf
	.p2align	4, 0x90
_basic_regex_quote_buf:                 ## @basic_regex_quote_buf
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movb	(%rsi), %al
	cmpb	$94, %al
	je	LBB0_1
## %bb.2:
	cmpb	$42, %al
	je	LBB0_3
LBB0_4:
	testb	%al, %al
	jne	LBB0_5
	jmp	LBB0_12
LBB0_1:
	movq	%r14, %rdi
	movl	$92, %esi
	callq	_strbuf_addch
	leaq	1(%rbx), %r15
	movsbl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_strbuf_addch
	movb	1(%rbx), %al
	movq	%r15, %rbx
	cmpb	$42, %al
	jne	LBB0_4
LBB0_3:
	leaq	1(%rbx), %r15
	movq	%r14, %rdi
	movl	$42, %esi
	callq	_strbuf_addch
	movb	1(%rbx), %al
	movq	%r15, %rbx
	testb	%al, %al
	je	LBB0_12
LBB0_5:
	incq	%rbx
	movabsq	$108086391056892992, %r12       ## imm = 0x180000000000440
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movl	$92, %esi
	callq	_strbuf_addch
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_strbuf_addch
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	je	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %r15d
	leal	-36(%r15), %eax
	cmpl	$56, %eax
	ja	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	btq	%rax, %r12
	jb	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$0, (%rbx)
	jne	LBB0_11
	jmp	LBB0_10
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_basic_regex_quote_buf          ; -- Begin function basic_regex_quote_buf
	.p2align	2
_basic_regex_quote_buf:                 ; @basic_regex_quote_buf
	.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	x20, x1
	mov	x19, x0
	ldrb	w8, [x1]
	cmp	w8, #94
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #42
	b.eq	LBB0_4
LBB0_2:
	cbnz	w8, LBB0_5
	b	LBB0_12
LBB0_3:
	mov	x0, x19
	mov	w1, #92
	bl	_strbuf_addch
	ldrsb	w1, [x20]
	mov	x0, x19
	bl	_strbuf_addch
	ldrb	w8, [x20, #1]!
	cmp	w8, #42
	b.ne	LBB0_2
LBB0_4:
	mov	x0, x19
	mov	w1, #42
	bl	_strbuf_addch
	ldrb	w8, [x20, #1]!
	cbz	w8, LBB0_12
LBB0_5:
	add	x21, x20, #1
	mov	w22, #1
	mov	x23, #1088
	movk	x23, #384, lsl #48
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	w1, #92
	bl	_strbuf_addch
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_strbuf_addch
	ldrb	w8, [x21], #1
	cbz	w8, LBB0_12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w20, w8
	sub	w8, w20, #36
	cmp	w8, #56
	b.hi	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	lsl	x9, x22, x8
	tst	x9, x23
	b.ne	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	cbnz	x8, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [x21]
	cbnz	w8, LBB0_7
	b	LBB0_6
LBB0_12:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
