	.file	"extr_sh.glob.c_t_pmatch.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	t_pmatch
	.type	t_pmatch, @function
t_pmatch:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	rax, rsi
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	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
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR TRIM[rip]
.L2:
	mov	edi, DWORD PTR [rax]
	mov	r14d, DWORD PTR [r15]
	lea	rbx, 4[rax]
	and	edi, esi
	and	r14d, esi
	cmp	edi, 63
	je	.L3
	jg	.L4
	test	edi, edi
	je	.L5
	cmp	edi, 42
	jne	.L7
	mov	eax, DWORD PTR 4[rax]
	xor	ebp, ebp
	test	eax, eax
	je	.L51
.L12:
	mov	ecx, r13d
	mov	rdx, r12
	mov	rsi, rbx
	mov	rdi, r15
	call	t_pmatch
	cmp	eax, 1
	je	.L13
	cmp	eax, 2
	je	.L1
	test	eax, eax
	je	.L14
	xor	eax, eax
	call	abort@PLT
.L14:
	add	r15, 4
	mov	eax, DWORD PTR -4[r15]
	test	DWORD PTR TRIM[rip], eax
	jne	.L12
	test	rbp, rbp
	je	.L16
	mov	QWORD PTR [r12], rbp
	mov	eax, 1
.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
.L4:
	.cfi_restore_state
	cmp	edi, 91
	jne	.L7
	mov	ebp, DWORD PTR 4[rax]
	xor	edx, edx
	cmp	ebp, 94
	sete	dl
	mov	DWORD PTR 4[rsp], edx
	je	.L52
.L17:
	lea	rdx, 4[rbx]
	xor	ecx, ecx
	and	ebp, esi
	jne	.L21
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L55:
	cmp	DWORD PTR 4[rbx], 45
	je	.L53
.L20:
	xor	ecx, ecx
	cmp	r14d, ebp
	mov	rbx, rdx
	sete	cl
.L19:
	lea	rdx, 4[rbx]
	mov	ebp, esi
	and	ebp, DWORD PTR [rbx]
	je	.L54
.L21:
	cmp	ebp, 93
	je	.L18
	test	ecx, ecx
	je	.L55
	mov	rbx, rdx
	mov	ebp, esi
	lea	rdx, 4[rbx]
	and	ebp, DWORD PTR [rbx]
	jne	.L21
.L54:
	or	r14d, ecx
.L22:
	mov	edi, DWORD PTR ERR_NAME[rip]
	mov	esi, 93
	or	edi, DWORD PTR ERR_MISSING[rip]
	mov	DWORD PTR [rsp], ecx
	mov	QWORD PTR 8[rsp], rdx
	call	stderror@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	ecx, DWORD PTR [rsp]
	mov	rbx, rdx
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L53:
	mov	eax, DWORD PTR 8[rbx]
	mov	DWORD PTR [rsp], ecx
	cmp	eax, 93
	je	.L20
	and	esi, eax
	xor	edx, edx
	mov	edi, r14d
	add	rbx, 12
	call	globcharcoll@PLT
	mov	esi, DWORD PTR TRIM[rip]
	mov	ecx, DWORD PTR [rsp]
	test	eax, eax
	jg	.L19
	xor	edx, edx
	mov	esi, r14d
	mov	edi, ebp
	call	globcharcoll@PLT
	xor	ecx, ecx
	mov	esi, DWORD PTR TRIM[rip]
	test	eax, eax
	setle	cl
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L3:
	test	r14d, r14d
	je	.L16
.L11:
	add	r15, 4
	mov	rax, rbx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
	test	r14d, r14d
	mov	QWORD PTR [r12], r15
	sete	al
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	add	eax, 1
	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
.L7:
	.cfi_restore_state
	test	r13d, r13d
	je	.L23
	cmp	r14d, edi
	setne	al
.L24:
	test	al, al
	jne	.L16
.L49:
	mov	esi, DWORD PTR TRIM[rip]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rbp, QWORD PTR [r12]
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L18:
	or	r14d, ecx
	mov	rbx, rdx
.L25:
	cmp	ecx, DWORD PTR 4[rsp]
	je	.L16
	test	r14d, r14d
	jne	.L49
	.p2align 4,,10
	.p2align 3
.L16:
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L52:
	mov	ebp, DWORD PTR 8[rax]
	lea	rbx, 8[rax]
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L51:
	mov	rdi, r15
	call	Strend@PLT
	mov	QWORD PTR [r12], rax
	mov	eax, 2
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	call	Tolower@PLT
	mov	edi, r14d
	mov	ebp, eax
	call	Tolower@PLT
	cmp	ebp, eax
	setne	al
	jmp	.L24
	.cfi_endproc
.LFE0:
	.size	t_pmatch, .-t_pmatch
	.comm	TRIM,4,4
	.comm	ERR_NAME,4,4
	.comm	ERR_MISSING,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_sh.glob.c_t_pmatch.c"
	.text
	.align	2
	.global	t_pmatch
	.syntax unified
	.arm
	.fpu softvfp
	.type	t_pmatch, %function
t_pmatch:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r10, r0
	mov	r9, r2
	mov	r8, r3
	ldr	r7, .L53
	ldr	fp, .L53+4
	ldr	ip, [r7]
	sub	sp, sp, #12
.L2:
	mov	r5, r1
	ldr	r0, [r5], #4
	ldr	r6, [r10]
	and	r0, r0, ip
	cmp	r0, #63
	mov	r4, r10
	and	r6, r6, ip
	add	r10, r10, #4
	beq	.L3
	bgt	.L4
	cmp	r0, #0
	beq	.L5
	cmp	r0, #42
	bne	.L7
	mov	r3, r8
	mov	r8, r9
	mov	r9, r3
	ldr	r3, [r1, #4]
	cmp	r3, #0
	movne	r6, #0
	beq	.L50
.L12:
	mov	r3, r9
	mov	r2, r8
	mov	r1, r5
	mov	r0, r4
	bl	t_pmatch
	cmp	r0, #1
	beq	.L13
	cmp	r0, #2
	beq	.L1
	cmp	r0, #0
	beq	.L14
	bl	abort
.L14:
	ldr	r2, [r4], #4
	ldr	r3, [r7]
	tst	r2, r3
	bne	.L12
	cmp	r6, #0
	beq	.L16
	mov	r0, #1
	str	r6, [r8]
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	cmp	r0, #91
	bne	.L7
	ldr	r4, [r1, #4]
	cmp	r4, #94
	moveq	r3, #1
	movne	r3, #0
	str	r3, [sp]
	beq	.L51
.L17:
	ands	r4, r4, ip
	moveq	r2, r4
	add	lr, r5, #4
	beq	.L22
	mov	r2, #0
	mov	r1, ip
	b	.L21
.L20:
	sub	r2, r6, r4
	clz	r2, r2
	mov	r5, lr
	lsr	r2, r2, #5
.L19:
	mov	lr, r5
	ldr	r1, [r7]
	ldr	r4, [lr], #4
	ands	r4, r1, r4
	beq	.L52
.L21:
	cmp	r4, #93
	beq	.L18
	cmp	r2, #0
	movne	r5, lr
	bne	.L19
	ldr	r3, [r5, #4]
	cmp	r3, #45
	bne	.L20
	ldr	r3, [r5, #8]
	add	r5, r5, #12
	cmp	r3, #93
	and	r1, r1, r3
	beq	.L20
	mov	r0, r6
	str	r2, [sp, #4]
	bl	globcharcoll
	cmp	r0, #0
	ldr	r2, [sp, #4]
	bgt	.L19
	mov	r0, r4
	mov	r1, r6
	bl	globcharcoll
	cmp	r0, #0
	movgt	r2, #0
	movle	r2, #1
	b	.L19
.L7:
	cmp	r8, #0
	beq	.L23
.L48:
	subs	r0, r6, r0
	movne	r0, #1
	cmp	r0, #0
	bne	.L16
.L47:
	ldr	ip, [r7]
.L11:
	mov	r1, r5
	b	.L2
.L3:
	cmp	r6, #0
	bne	.L11
.L16:
	mov	r0, #0
	b	.L1
.L5:
	cmp	r6, #0
	moveq	r0, #2
	movne	r0, #1
	str	r4, [r9]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	ldr	r6, [r8]
	b	.L14
.L18:
	mov	r5, lr
	orr	r6, r6, r2
.L25:
	ldr	r3, [sp]
	cmp	r6, #0
	cmpne	r2, r3
	bne	.L47
	b	.L16
.L52:
	orr	r6, r6, r2
.L22:
	ldr	r3, .L53+8
	ldr	r0, [fp]
	ldr	ip, [r3]
	mov	r1, #93
	orr	r0, ip, r0
	str	r2, [sp, #4]
	mov	r5, lr
	bl	stderror
	ldr	r2, [sp, #4]
	b	.L25
.L51:
	ldr	r4, [r1, #8]
	add	r5, r1, #8
	b	.L17
.L50:
	mov	r0, r4
	bl	Strend
	mov	r3, r0
	mov	r0, #2
	str	r3, [r8]
	b	.L1
.L23:
	bl	Tolower
	mov	r2, r0
	mov	r0, r6
	mov	r6, r2
	bl	Tolower
	b	.L48
.L54:
	.align	2
.L53:
	.word	TRIM
	.word	ERR_MISSING
	.word	ERR_NAME
	.size	t_pmatch, .-t_pmatch
	.comm	TRIM,4,4
	.comm	ERR_NAME,4,4
	.comm	ERR_MISSING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
