	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function similar_escape_internal
_similar_escape_internal:               ## @similar_escape_internal
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_VARDATA_ANY
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_VARSIZE_ANY_EXHDR
	testq	%r15, %r15
	je	LBB0_5
## %bb.1:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_VARDATA_ANY
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_VARSIZE_ANY_EXHDR
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$2, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jl	LBB0_7
## %bb.3:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_pg_mbstrlen_with_len
	cmpl	$2, %eax
	jl	LBB0_7
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_INVALID_ESCAPE_SEQUENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	callq	_errmsg
	leaq	L_.str.2(%rip), %rdi
	callq	_errhint
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str(%rip), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
LBB0_6:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_7:
	movl	%ebx, %eax
LBB0_8:
	movq	_VARHDRSZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	%eax, %ebx
	movslq	%eax, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rdx,%rcx), %rdi
	addq	$23, %rdi
	callq	_palloc
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_VARDATA
	movq	%rax, %r8
	movl	$977217630, (%rax)              ## imm = 0x3A3F285E
	addq	$4, %r8
	testl	%ebx, %ebx
	jle	LBB0_48
## %bb.9:
	movl	%ebx, %r9d
	xorl	%edi, %edi
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%ecx, %ecx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_35:                                ##   in Loop: Header=BB0_13 Depth=1
	movabsq	$4551025073606196009, %rax      ## imm = 0x3F287D312C317B29
	movq	%rax, (%r8)
	movb	$58, 8(%r8)
	addq	$9, %r8
	incl	%edi
LBB0_47:                                ##   in Loop: Header=BB0_13 Depth=1
	xorl	%ecx, %ecx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%rsi
	decl	%r9d
	testl	%r9d, %r9d
	jle	LBB0_48
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi), %r14d
	cmpl	$2, %edx
	jl	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	%edi, -72(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rdi
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movq	%r8, %r12
	movl	%ecx, %ebx
	callq	_pg_mblen
	movl	%ebx, %ecx
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	movq	%r12, %r8
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	cmpl	$2, %eax
	jl	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	%eax, %r15d
	testl	%ecx, %ecx
	jne	LBB0_32
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	%r15d, %edx
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcmp
	movq	%r12, %r8
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_40
LBB0_19:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%r8, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movq	%r12, %r8
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	%r15d, %eax
	addq	%rax, %r8
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_13 Depth=1
	testl	%ecx, %ecx
	je	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpb	$34, %r14b
	jne	LBB0_10
## %bb.22:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_10
## %bb.23:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$1, %edi
	je	LBB0_35
## %bb.24:                              ##   in Loop: Header=BB0_13 Depth=1
	testl	%edi, %edi
	jne	LBB0_36
## %bb.25:                              ##   in Loop: Header=BB0_13 Depth=1
	movabsq	$2900174335198198569, %rax      ## imm = 0x283F7D312C317B29
	movq	%rax, (%r8)
	addq	$8, %r8
	incl	%edi
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	$1, %ecx
	cmpb	(%rax), %r14b
	je	LBB0_12
LBB0_28:                                ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_37
## %bb.29:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpb	$92, %r14b
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_13 Depth=1
	movb	$92, (%r8)
	incq	%r8
LBB0_31:                                ##   in Loop: Header=BB0_13 Depth=1
	movb	%r14b, (%r8)
	incq	%r8
	xorl	%eax, %eax
	cmpb	$93, %r14b
	setne	%al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_13 Depth=1
	movb	$92, (%r8)
	movb	%r14b, 1(%r8)
	addq	$2, %r8
LBB0_11:                                ##   in Loop: Header=BB0_13 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_12
LBB0_32:                                ##   in Loop: Header=BB0_13 Depth=1
	leaq	1(%r8), %rdi
	movb	$92, (%r8)
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movq	%r12, %r8
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	%r15d, %eax
	leaq	(%r12,%rax), %r8
	incq	%r8
LBB0_33:                                ##   in Loop: Header=BB0_13 Depth=1
	xorl	%ecx, %ecx
LBB0_34:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	addq	%rax, %rsi
	subl	%r15d, %r9d
	testl	%r9d, %r9d
	jg	LBB0_13
	jmp	LBB0_48
LBB0_36:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%edi, %r13d
	movq	_ERRCODE_INVALID_USE_OF_ESCAPE_CHARACTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r9d, %r14d
	movq	%rsi, %r12
	movq	%r8, %rbx
	callq	_errcode
	leaq	L_.str.3(%rip), %rdi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
	movl	%r13d, %edi
	movq	%rbx, %r8
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%r14d, %r9d
	incl	%edi
	jmp	LBB0_47
LBB0_37:                                ##   in Loop: Header=BB0_13 Depth=1
	leal	-36(%r14), %eax
	cmpb	$59, %al
	ja	LBB0_42
## %bb.38:                              ##   in Loop: Header=BB0_13 Depth=1
	movzbl	%al, %eax
	leaq	LJTI0_0(%rip), %rbx
	movslq	(%rbx,%rax,4), %rax
	addq	%rbx, %rax
	jmpq	*%rax
LBB0_39:                                ##   in Loop: Header=BB0_13 Depth=1
	movb	$92, (%r8)
	movb	%r14b, 1(%r8)
	addq	$2, %r8
	jmp	LBB0_47
LBB0_40:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%r13, %rsi
	movl	%r15d, %eax
	movl	$1, %ecx
	jmp	LBB0_34
LBB0_41:                                ##   in Loop: Header=BB0_13 Depth=1
	movw	$10798, (%r8)                   ## imm = 0x2A2E
	addq	$2, %r8
	jmp	LBB0_47
LBB0_42:                                ##   in Loop: Header=BB0_13 Depth=1
	movb	%r14b, (%r8)
	jmp	LBB0_46
LBB0_43:                                ##   in Loop: Header=BB0_13 Depth=1
	movw	$16168, (%r8)                   ## imm = 0x3F28
	movb	$58, 2(%r8)
	addq	$3, %r8
	jmp	LBB0_47
LBB0_44:                                ##   in Loop: Header=BB0_13 Depth=1
	movb	$91, (%r8)
	incq	%r8
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_11
LBB0_45:                                ##   in Loop: Header=BB0_13 Depth=1
	movb	$46, (%r8)
LBB0_46:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%r8
	jmp	LBB0_47
LBB0_48:
	movw	$9257, (%r8)                    ## imm = 0x2429
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	subl	%r14d, %r8d
	addl	$2, %r8d
	movq	%r14, %rdi
	movl	%r8d, %esi
	callq	_SET_VARSIZE
	movq	%r14, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
.set L0_0_set_42, LBB0_42-LJTI0_0
.set L0_0_set_43, LBB0_43-LJTI0_0
.set L0_0_set_44, LBB0_44-LJTI0_0
.set L0_0_set_45, LBB0_45-LJTI0_0
LJTI0_0:
	.long	L0_0_set_39
	.long	L0_0_set_41
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_43
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_39
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_42
	.long	L0_0_set_44
	.long	L0_0_set_39
	.long	L0_0_set_42
	.long	L0_0_set_39
	.long	L0_0_set_45
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\\"

	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_ESCAPE_SEQUENCE,4,2 ## @ERRCODE_INVALID_ESCAPE_SEQUENCE
L_.str.1:                               ## @.str.1
	.asciz	"invalid escape string"

L_.str.2:                               ## @.str.2
	.asciz	"Escape string must be empty or one character."

	.comm	_VARHDRSZ,8,3                   ## @VARHDRSZ
	.comm	_ERRCODE_INVALID_USE_OF_ESCAPE_CHARACTER,4,2 ## @ERRCODE_INVALID_USE_OF_ESCAPE_CHARACTER
L_.str.3:                               ## @.str.3
	.asciz	"SQL regular expression may not contain more than two escape-double-quote separators"

	.no_dead_strip	_similar_escape_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function similar_escape_internal
lCPI0_0:
	.byte	41                              ; 0x29
	.byte	123                             ; 0x7b
	.byte	49                              ; 0x31
	.byte	44                              ; 0x2c
	.byte	49                              ; 0x31
	.byte	125                             ; 0x7d
	.byte	40                              ; 0x28
	.byte	63                              ; 0x3f
lCPI0_1:
	.byte	41                              ; 0x29
	.byte	123                             ; 0x7b
	.byte	49                              ; 0x31
	.byte	44                              ; 0x2c
	.byte	49                              ; 0x31
	.byte	125                             ; 0x7d
	.byte	63                              ; 0x3f
	.byte	40                              ; 0x28
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_similar_escape_internal:               ; @similar_escape_internal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x22, x1
	mov	x20, x0
	bl	_VARDATA_ANY
	mov	x19, x0
	mov	x0, x20
	bl	_VARSIZE_ANY_EXHDR
	mov	x20, x0
	cbz	x22, LBB0_5
; %bb.1:
	mov	x0, x22
	bl	_VARDATA_ANY
	mov	x21, x0
	mov	x0, x22
	bl	_VARSIZE_ANY_EXHDR
	mov	x22, x0
	cbz	w0, LBB0_6
; %bb.2:
	cmp	w22, #1
	b.le	LBB0_7
; %bb.3:
	mov	x0, x21
	mov	x1, x22
	bl	_pg_mbstrlen_with_len
	cmp	w0, #1
	b.le	LBB0_7
; %bb.4:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x8, _ERRCODE_INVALID_ESCAPE_SEQUENCE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERRCODE_INVALID_ESCAPE_SEQUENCE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_errcode
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
	b	LBB0_7
LBB0_5:
Lloh10:
	adrp	x21, l_.str@PAGE
Lloh11:
	add	x21, x21, l_.str@PAGEOFF
	mov	w22, #1
	b	LBB0_7
LBB0_6:
	mov	x21, #0
LBB0_7:
Lloh12:
	adrp	x8, _VARHDRSZ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VARHDRSZ@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	sxtw	x9, w20
	add	x9, x9, w20, sxtw #1
	add	x8, x9, x8
	add	x0, x8, #23
	bl	_palloc
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	bl	_VARDATA
	mov	x24, x0
	mov	w8, #10334
	movk	w8, #14911, lsl #16
	str	w8, [x24], #4
	cmp	w20, #1
	b.lt	LBB0_45
; %bb.8:
	mov	w27, #0
	mov	w25, #0
	mov	w28, #0
Lloh15:
	adrp	x8, lCPI0_0@PAGE
Lloh16:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
Lloh17:
	adrp	x8, lCPI0_1@PAGE
Lloh18:
	ldr	d9, [x8, lCPI0_1@PAGEOFF]
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=1
	str	d8, [x24]
	mov	w8, #58
	strb	w8, [x24, #8]
	add	x24, x24, #9
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	w28, #0
	mov	w25, #0
	add	w27, w27, #1
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x19, x19, #1
	sub	w20, w20, #1
	cmp	w20, #1
	b.lt	LBB0_45
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w23, [x19]
	cmp	w22, #1
	b.le	LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x19
	bl	_pg_mblen
	cmp	w0, #2
	b.lt	LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x26, x0
	cbnz	w28, LBB0_33
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	cbz	x21, LBB0_34
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w22, w26
	b.ne	LBB0_34
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_memcmp
	cbnz	x0, LBB0_34
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w8, w26
	mov	w28, #1
	b	LBB0_35
LBB0_19:                                ;   in Loop: Header=BB0_12 Depth=1
	cbz	w28, LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w23, #34
	ccmp	w25, #0, #0, eq
	b.eq	LBB0_26
; %bb.21:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w28, #0
LBB0_22:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	w8, #92
	strb	w8, [x24]
	strb	w23, [x24, #1]
	add	x24, x24, #2
	b	LBB0_11
LBB0_23:                                ;   in Loop: Header=BB0_12 Depth=1
	cbz	x21, LBB0_29
; %bb.24:                               ;   in Loop: Header=BB0_12 Depth=1
	ldrb	w8, [x21]
	cmp	w23, w8
	b.ne	LBB0_29
; %bb.25:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w28, #1
	b	LBB0_11
LBB0_26:                                ;   in Loop: Header=BB0_12 Depth=1
	cmp	w27, #1
	b.eq	LBB0_9
; %bb.27:                               ;   in Loop: Header=BB0_12 Depth=1
	cbnz	w27, LBB0_36
; %bb.28:                               ;   in Loop: Header=BB0_12 Depth=1
	str	d9, [x24], #8
	b	LBB0_10
LBB0_29:                                ;   in Loop: Header=BB0_12 Depth=1
	cbz	w25, LBB0_37
; %bb.30:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w23, #92
	b.ne	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w8, #92
	strb	w8, [x24], #1
LBB0_32:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	w28, #0
	strb	w23, [x24], #1
	cmp	w23, #93
	cset	w25, ne
	b	LBB0_11
LBB0_33:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	w8, #92
	strb	w8, [x24], #1
LBB0_34:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x24
	mov	x1, x19
	mov	x2, x26
	bl	_memcpy
	mov	w28, #0
	mov	w8, w26
	add	x24, x24, x8
LBB0_35:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x19, x19, x8
	sub	w20, w20, w26
	cmp	w20, #1
	b.ge	LBB0_12
	b	LBB0_45
LBB0_36:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh19:
	adrp	x8, _ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w26, [x8]
Lloh22:
	adrp	x8, _ERRCODE_INVALID_USE_OF_ESCAPE_CHARACTER@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ERRCODE_INVALID_USE_OF_ESCAPE_CHARACTER@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_errcode
Lloh25:
	adrp	x0, l_.str.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x26
	bl	_ereport
	b	LBB0_10
LBB0_37:                                ;   in Loop: Header=BB0_12 Depth=1
	sub	w8, w23, #36
	cmp	w8, #59
	b.hi	LBB0_41
; %bb.38:                               ;   in Loop: Header=BB0_12 Depth=1
Lloh27:
	adrp	x11, lJTI0_0@PAGE
Lloh28:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_39
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_39:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	w28, #0
	mov	w25, #0
	b	LBB0_22
LBB0_40:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	w28, #0
	mov	w25, #0
	mov	w8, #10798
	strh	w8, [x24], #2
	b	LBB0_11
LBB0_41:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	w28, #0
	mov	w25, #0
	strb	w23, [x24], #1
	b	LBB0_11
LBB0_42:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	w28, #0
	mov	w25, #0
	mov	w8, #16168
	strh	w8, [x24]
	mov	w8, #58
	strb	w8, [x24, #2]
	add	x24, x24, #3
	b	LBB0_11
LBB0_43:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	w28, #0
	mov	w8, #91
	strb	w8, [x24], #1
	mov	w25, #1
	b	LBB0_11
LBB0_44:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	w28, #0
	mov	w25, #0
	mov	w8, #46
	strb	w8, [x24], #1
	b	LBB0_11
LBB0_45:
	mov	w8, #9257
	strh	w8, [x24]
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	sub	w8, w24, w19
	add	w1, w8, #2
	mov	x0, x19
	bl	_SET_VARSIZE
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpAdrp	Lloh15, Lloh17
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_39-LBB0_39)>>2
	.byte	(LBB0_40-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_42-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_39-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_43-LBB0_39)>>2
	.byte	(LBB0_39-LBB0_39)>>2
	.byte	(LBB0_41-LBB0_39)>>2
	.byte	(LBB0_39-LBB0_39)>>2
	.byte	(LBB0_44-LBB0_39)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\\"

	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_ESCAPE_SEQUENCE,4,2 ; @ERRCODE_INVALID_ESCAPE_SEQUENCE
l_.str.1:                               ; @.str.1
	.asciz	"invalid escape string"

l_.str.2:                               ; @.str.2
	.asciz	"Escape string must be empty or one character."

	.comm	_VARHDRSZ,8,3                   ; @VARHDRSZ
	.comm	_ERRCODE_INVALID_USE_OF_ESCAPE_CHARACTER,4,2 ; @ERRCODE_INVALID_USE_OF_ESCAPE_CHARACTER
l_.str.3:                               ; @.str.3
	.asciz	"SQL regular expression may not contain more than two escape-double-quote separators"

	.no_dead_strip	_similar_escape_internal
.subsections_via_symbols
