	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MatchText
_MatchText:                             ## @MatchText
	.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
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r12d
	movq	%rdx, %r14
	movl	%esi, %r13d
	movq	%rdi, %r15
	cmpl	$1, %ecx
	jne	LBB0_3
## %bb.1:
	cmpb	$37, (%r14)
	jne	LBB0_3
LBB0_2:
	movq	_LIKE_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_3:
	xorl	%eax, %eax
	callq	_check_stack_depth
	testl	%r13d, %r13d
	jle	LBB0_27
## %bb.4:
	testl	%r12d, %r12d
	jg	LBB0_5
LBB0_27:
	testl	%r13d, %r13d
	jle	LBB0_28
LBB0_16:
	movq	_LIKE_FALSE@GOTPCREL(%rip), %rax
LBB0_32:
	movl	(%rax), %eax
LBB0_33:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_NextChar
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_NextByte
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r14), %eax
	cmpb	$92, %al
	je	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$95, %al
	je	LBB0_23
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$37, %al
	je	LBB0_8
## %bb.25:                              ##   in Loop: Header=BB0_5 Depth=1
	movsbl	%al, %edi
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_NextByte
	movsbl	(%r14), %edi
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	callq	_GETCHAR
	movl	%eax, %ebx
	movsbl	(%r15), %edi
	callq	_GETCHAR
	cmpb	%al, %bl
	jne	LBB0_16
## %bb.26:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_NextByte
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_NextChar
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_NextByte
	movzbl	(%r14), %eax
	cmpb	$37, %al
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpb	$95, %al
	je	LBB0_17
## %bb.10:
	cmpb	$92, %al
	jne	LBB0_18
## %bb.11:
	movl	%r12d, %ebx
	cmpl	$1, %r12d
	jg	LBB0_13
## %bb.12:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_INVALID_ESCAPE_SEQUENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_13:
	movb	1(%r14), %al
	jmp	LBB0_19
LBB0_28:
	testl	%r12d, %r12d
	jle	LBB0_2
	.p2align	4, 0x90
## %bb.30:
	cmpb	$37, (%r14)
	jne	LBB0_31
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_NextByte
	cmpb	$37, (%r14)
	je	LBB0_29
LBB0_31:
	movq	_LIKE_ABORT@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_18:
	movl	%r12d, %ebx
LBB0_19:
	movsbl	%al, %edi
	callq	_GETCHAR
	movl	%eax, %r12d
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_NextChar
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r15), %edi
	callq	_GETCHAR
	cmpb	%r12b, %al
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%r15, %rdi
	movl	%r13d, %esi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	callq	_MatchText
	movq	_LIKE_FALSE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_22
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_LIKE_TRUE,4,2                  ## @LIKE_TRUE
	.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	"LIKE pattern must not end with escape character"

	.comm	_LIKE_FALSE,4,2                 ## @LIKE_FALSE
	.comm	_LIKE_ABORT,4,2                 ## @LIKE_ABORT
	.no_dead_strip	_MatchText
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MatchText
_MatchText:                             ; @MatchText
	.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	x21, x5
	mov	x22, x4
	mov	x19, x3
	mov	x20, x2
	mov	x23, x1
	mov	x24, x0
	cmp	w3, #1
	b.ne	LBB0_3
; %bb.1:
	ldrb	w8, [x20]
	cmp	w8, #37
	b.ne	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _LIKE_TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIKE_TRUE@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
	bl	_check_stack_depth
	cmp	w23, #1
	b.lt	LBB0_5
; %bb.4:
	cmp	w19, #1
	b.ge	LBB0_11
LBB0_5:
	cmp	w23, #0
	b.le	LBB0_29
LBB0_6:
Lloh2:
	adrp	x8, _LIKE_FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LIKE_FALSE@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
LBB0_8:
	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
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x24
	mov	x1, x23
	bl	_NextChar
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_NextByte
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20]
	cmp	w8, #92
	b.eq	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w8, #95
	b.eq	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w8, #37
	b.eq	LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	sxtb	w0, w8
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_NextByte
	ldrsb	w0, [x20]
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=1
	bl	_GETCHAR
	mov	x25, x0
	ldrsb	w0, [x24]
	bl	_GETCHAR
	cmp	w25, w0
	b.ne	LBB0_6
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x24
	mov	x1, x23
	bl	_NextByte
	b	LBB0_10
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x24
	mov	x1, x23
	bl	_NextChar
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_NextByte
	ldrb	w8, [x20]
	cmp	w8, #37
	b.eq	LBB0_19
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	w8, #95
	b.eq	LBB0_18
; %bb.21:
	cmp	w8, #92
	b.ne	LBB0_25
; %bb.22:
	cmp	w19, #1
	b.gt	LBB0_24
; %bb.23:
Lloh4:
	adrp	x8, _ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w25, [x8]
Lloh7:
	adrp	x8, _ERRCODE_INVALID_ESCAPE_SEQUENCE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERRCODE_INVALID_ESCAPE_SEQUENCE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_errcode
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
LBB0_24:
	ldrb	w8, [x20, #1]
LBB0_25:
	sxtb	w0, w8
	bl	_GETCHAR
	mov	x25, x0
Lloh12:
	adrp	x26, _LIKE_FALSE@GOTPAGE
Lloh13:
	ldr	x26, [x26, _LIKE_FALSE@GOTPAGEOFF]
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=1
	mov	x0, x24
	mov	x1, x23
	bl	_NextChar
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x24]
	bl	_GETCHAR
	cmp	w0, w25
	b.ne	LBB0_26
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	mov	x0, x24
	mov	x1, x23
	mov	x2, x20
	mov	x3, x19
	mov	x4, x22
	mov	x5, x21
	bl	_MatchText
	ldr	w8, [x26]
	cmp	w0, w8
	b.eq	LBB0_26
	b	LBB0_8
LBB0_29:
	cmp	w19, #1
	b.lt	LBB0_2
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20]
	cmp	w8, #37
	b.ne	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_NextByte
	b	LBB0_30
LBB0_32:
Lloh14:
	adrp	x8, _LIKE_ABORT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LIKE_ABORT@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_LIKE_TRUE,4,2                  ; @LIKE_TRUE
	.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	"LIKE pattern must not end with escape character"

	.comm	_LIKE_FALSE,4,2                 ; @LIKE_FALSE
	.comm	_LIKE_ABORT,4,2                 ; @LIKE_ABORT
	.no_dead_strip	_MatchText
.subsections_via_symbols
