	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_like_escape
_do_like_escape:                        ## @do_like_escape
	.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
	movq	%rsi, %r13
	movq	%rdi, %rbx
	callq	_VARDATA_ANY
	movq	%rax, %r12
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_VARSIZE_ANY_EXHDR
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_VARDATA_ANY
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_VARSIZE_ANY_EXHDR
	movl	%eax, %r14d
	leal	(%rbx,%rbx), %eax
	movslq	%eax, %rdi
	movq	_VARHDRSZ@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_palloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_VARDATA
	movq	%rax, %r15
	testl	%r14d, %r14d
	je	LBB0_1
## %bb.5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_NextChar
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_INVALID_ESCAPE_SEQUENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	leaq	L_.str.1(%rip), %rdi
	callq	_errhint
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	%r13, %rdi
	callq	_VARDATA_ANY
	cmpb	$92, (%rax)
	jne	LBB0_6
## %bb.18:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_VARSIZE_ANY
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_memcpy
	jmp	LBB0_17
LBB0_1:
	testl	%ebx, %ebx
	jg	LBB0_2
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_CopyAdvChar
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$92, (%r12)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movb	$92, (%r15)
	incq	%r15
	jmp	LBB0_4
LBB0_6:
	testl	%ebx, %ebx
	jle	LBB0_16
## %bb.7:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_CopyAdvChar
	xorl	%r13d, %r13d
	movq	%r14, %rax
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%rax, %r14
	movq	%rax, %rsi
	callq	_CHAREQ
	testq	%rax, %rax
	sete	%bl
	orb	%r13b, %bl
	testb	$1, %bl
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpb	$92, (%r12)
	jne	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movb	$92, (%r15)
	testb	$1, %r13b
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	incq	%r15
	jmp	LBB0_14
LBB0_9:                                 ##   in Loop: Header=BB0_8 Depth=1
	movb	$92, (%r15)
	incq	%r15
	jmp	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movb	$92, 1(%r15)
	addq	$2, %r15
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_NextChar
	xorb	$1, %bl
	movl	%ebx, %r13d
	movq	%r14, %rax
	jmp	LBB0_8
LBB0_16:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	subl	%ebx, %r15d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_SET_VARSIZE
LBB0_17:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VARHDRSZ,8,3                   ## @VARHDRSZ
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_ESCAPE_SEQUENCE,4,2 ## @ERRCODE_INVALID_ESCAPE_SEQUENCE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid escape string"

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

	.no_dead_strip	_do_like_escape
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_like_escape
_do_like_escape:                        ; @do_like_escape
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x23, x1
	mov	x22, x0
	bl	_VARDATA_ANY
	mov	x19, x0
	mov	x0, x22
	bl	_VARSIZE_ANY_EXHDR
	mov	x20, x0
	mov	x0, x23
	bl	_VARDATA_ANY
	mov	x25, x0
	mov	x0, x23
	bl	_VARSIZE_ANY_EXHDR
	mov	x26, x0
	lsl	w8, w20, #1
Lloh0:
	adrp	x9, _VARHDRSZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VARHDRSZ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, w8, sxtw
	bl	_palloc
	mov	x24, x0
	bl	_VARDATA
	mov	x21, x0
	cbz	w26, LBB0_3
; %bb.1:
	mov	x0, x25
	mov	x1, x26
	bl	_NextChar
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
Lloh6:
	adrp	x8, _ERRCODE_INVALID_ESCAPE_SEQUENCE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERRCODE_INVALID_ESCAPE_SEQUENCE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_errcode
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errhint
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
	mov	x0, x23
	bl	_VARDATA_ANY
	ldrb	w8, [x0]
	cmp	w8, #92
	b.ne	LBB0_8
; %bb.2:
	mov	x0, x22
	bl	_VARSIZE_ANY
	mov	x2, x0
	mov	x0, x24
	mov	x1, x22
	bl	_memcpy
	b	LBB0_19
LBB0_3:
	cmp	w20, #1
	b.lt	LBB0_18
; %bb.4:
	mov	w22, #92
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_CopyAdvChar
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x19]
	cmp	w8, #92
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	strb	w22, [x21], #1
	b	LBB0_5
LBB0_8:
	cmp	w20, #1
	b.lt	LBB0_18
; %bb.9:
	mov	x23, x0
	mov	w25, #0
	mov	w22, #92
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_CopyAdvChar
	mov	w25, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_CHAREQ
	cmp	x0, #0
	cset	w8, eq
	orr	w24, w25, w8
	tbz	w24, #0, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldrb	w8, [x19]
	cmp	w8, #92
	b.ne	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x8, x21
	strb	w22, [x8], #1
	tbz	w25, #0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x21, x8
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	strb	w22, [x21], #1
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=1
	strb	w22, [x21, #1]
	add	x21, x21, #2
LBB0_17:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_NextChar
	eor	w25, w24, #0x1
	b	LBB0_11
LBB0_18:
	sub	w1, w21, w24
	mov	x0, x24
	bl	_SET_VARSIZE
LBB0_19:
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_VARHDRSZ,8,3                   ; @VARHDRSZ
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_ESCAPE_SEQUENCE,4,2 ; @ERRCODE_INVALID_ESCAPE_SEQUENCE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid escape string"

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

	.no_dead_strip	_do_like_escape
.subsections_via_symbols
