	.file	"extr_like_match.c_SB_MatchText.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"LIKE pattern must not end with escape character"
	.text
	.p2align 4
	.type	MatchText, @function
MatchText:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, r9d
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	DWORD PTR 12[rsp], r8d
	cmp	ecx, 1
	jne	.L2
	cmp	BYTE PTR [rdx], 37
	je	.L35
.L2:
	xor	eax, eax
	call	check_stack_depth@PLT
	test	r14d, r14d
	jle	.L4
	test	r13d, r13d
	jle	.L4
.L21:
	movsx	edi, BYTE PTR [rbx]
	cmp	dil, 92
	je	.L43
.L5:
	cmp	dil, 37
	je	.L38
	cmp	dil, 95
	je	.L44
.L19:
	call	GETCHAR@PLT
	movsx	edi, BYTE PTR 0[rbp]
	mov	r12d, eax
	call	GETCHAR@PLT
	cmp	r12b, al
	jne	.L45
	mov	esi, r14d
	mov	rdi, rbp
	call	NextByte@PLT
	mov	rdi, rbx
	mov	esi, r13d
	call	NextByte@PLT
	movsx	edi, BYTE PTR [rbx]
	cmp	dil, 92
	jne	.L5
.L43:
	mov	rdi, rbx
	mov	esi, r13d
	call	NextByte@PLT
	movsx	edi, BYTE PTR [rbx]
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L38:
	mov	esi, r13d
	mov	rdi, rbx
	call	NextByte@PLT
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 37
	je	.L38
	cmp	al, 95
	jne	.L10
	mov	esi, r14d
	mov	rdi, rbp
	call	NextChar@PLT
	jmp	.L38
	.p2align 4,,10
	.p2align 3
.L44:
	mov	esi, r14d
	mov	rdi, rbp
	call	NextChar@PLT
	mov	esi, r13d
	mov	rdi, rbx
	call	NextByte@PLT
	jmp	.L21
.L4:
	mov	eax, DWORD PTR LIKE_FALSE[rip]
	test	r14d, r14d
	jg	.L1
	test	r13d, r13d
	jg	.L23
	jmp	.L35
	.p2align 4,,10
	.p2align 3
.L25:
	mov	esi, r13d
	mov	rdi, rbx
	call	NextByte@PLT
.L23:
	cmp	BYTE PTR [rbx], 37
	je	.L25
	mov	eax, DWORD PTR LIKE_ABORT[rip]
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L45:
	.cfi_restore_state
	mov	eax, DWORD PTR LIKE_FALSE[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	cmp	al, 92
	jne	.L13
	cmp	r13d, 1
	je	.L46
.L14:
	movsx	edi, BYTE PTR 1[rbx]
	call	GETCHAR@PLT
	mov	r12d, eax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L18:
	mov	esi, r14d
	mov	rdi, rbp
	call	NextChar@PLT
.L16:
	movsx	edi, BYTE PTR 0[rbp]
	call	GETCHAR@PLT
	cmp	al, r12b
	jne	.L18
	mov	r8d, DWORD PTR 12[rsp]
	mov	r9d, r15d
	mov	ecx, r13d
	mov	rdx, rbx
	mov	esi, r14d
	mov	rdi, rbp
	call	MatchText
	cmp	DWORD PTR LIKE_FALSE[rip], eax
	je	.L18
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	movsx	edi, al
	call	GETCHAR@PLT
	mov	r12d, eax
	jmp	.L16
.L35:
	mov	eax, DWORD PTR LIKE_TRUE[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L46:
	.cfi_restore_state
	mov	edi, DWORD PTR ERRCODE_INVALID_ESCAPE_SEQUENCE[rip]
	call	errcode@PLT
	lea	rdi, .LC0[rip]
	call	errmsg@PLT
	mov	edi, DWORD PTR ERROR[rip]
	mov	esi, eax
	call	ereport@PLT
	jmp	.L14
	.cfi_endproc
.LFE0:
	.size	MatchText, .-MatchText
	.comm	LIKE_TRUE,4,4
	.comm	LIKE_FALSE,4,4
	.comm	LIKE_ABORT,4,4
	.comm	ERROR,4,4
	.comm	ERRCODE_INVALID_ESCAPE_SEQUENCE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_like_match.c_SB_MatchText.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"LIKE pattern must not end with escape character\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	MatchText, %function
MatchText:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	cmp	r3, #1
	sub	sp, sp, #12
	mov	r7, r3
	mov	r5, r0
	mov	r8, r1
	mov	r4, r2
	ldr	r9, [sp, #48]
	ldr	r10, [sp, #52]
	bne	.L2
	ldrb	r3, [r2]	@ zero_extendqisi2
	cmp	r3, #37
	beq	.L29
.L2:
	bl	check_stack_depth
	cmp	r8, #0
	cmpgt	r7, #0
	ble	.L4
.L21:
	ldrb	r0, [r4]	@ zero_extendqisi2
	cmp	r0, #92
	beq	.L36
.L5:
	cmp	r0, #37
	beq	.L32
	cmp	r0, #95
	beq	.L37
.L19:
	bl	GETCHAR
	mov	r6, r0
	ldrb	r0, [r5]	@ zero_extendqisi2
	bl	GETCHAR
	cmp	r6, r0
	bne	.L22
	mov	r1, r8
	mov	r0, r5
	bl	NextByte
	mov	r1, r7
	mov	r0, r4
	bl	NextByte
	ldrb	r0, [r4]	@ zero_extendqisi2
	cmp	r0, #92
	bne	.L5
.L36:
	mov	r1, r7
	mov	r0, r4
	bl	NextByte
	ldrb	r0, [r4]	@ zero_extendqisi2
	b	.L19
.L32:
	mov	r1, r7
	mov	r0, r4
	bl	NextByte
	ldrb	r0, [r4]	@ zero_extendqisi2
	cmp	r0, #37
	beq	.L32
	cmp	r0, #95
	bne	.L10
	mov	r1, r8
	mov	r0, r5
	bl	NextChar
	b	.L32
.L37:
	mov	r1, r8
	mov	r0, r5
	bl	NextChar
	mov	r1, r7
	mov	r0, r4
	bl	NextByte
	b	.L21
.L4:
	cmp	r8, #0
	ble	.L38
.L22:
	ldr	r3, .L40
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	cmp	r0, #92
	bne	.L13
	cmp	r7, #1
	beq	.L39
.L14:
	ldrb	r0, [r4, #1]	@ zero_extendqisi2
	bl	GETCHAR
	mov	r6, r0
.L15:
	ldr	fp, .L40
	b	.L16
.L18:
	mov	r1, r8
	mov	r0, r5
	bl	NextChar
.L16:
	ldrb	r0, [r5]	@ zero_extendqisi2
	bl	GETCHAR
	cmp	r0, r6
	bne	.L18
	mov	r3, r7
	mov	r2, r4
	mov	r1, r8
	mov	r0, r5
	stm	sp, {r9, r10}
	bl	MatchText
	ldr	r3, [fp]
	cmp	r3, r0
	beq	.L18
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L38:
	cmp	r7, #0
	bgt	.L23
	b	.L29
.L25:
	mov	r1, r7
	mov	r0, r4
	bl	NextByte
.L23:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #37
	beq	.L25
	ldr	r3, .L40+4
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	bl	GETCHAR
	mov	r6, r0
	b	.L15
.L29:
	ldr	r3, .L40+8
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L39:
	ldr	r2, .L40+12
	ldr	r3, .L40+16
	ldr	r0, [r2]
	ldr	r6, [r3]
	bl	errcode
	ldr	r0, .L40+20
	bl	errmsg
	mov	r1, r0
	mov	r0, r6
	bl	ereport
	b	.L14
.L41:
	.align	2
.L40:
	.word	LIKE_FALSE
	.word	LIKE_ABORT
	.word	LIKE_TRUE
	.word	ERRCODE_INVALID_ESCAPE_SEQUENCE
	.word	ERROR
	.word	.LC0
	.size	MatchText, .-MatchText
	.comm	LIKE_TRUE,4,4
	.comm	LIKE_FALSE,4,4
	.comm	LIKE_ABORT,4,4
	.comm	ERROR,4,4
	.comm	ERRCODE_INVALID_ESCAPE_SEQUENCE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
