	.file	"522108.c"
	.intel_syntax noprefix
	.text
	.type	is_allowed_bracket_pattern, @function
is_allowed_bracket_pattern:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	rdx, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 91
	je	.L2
	mov	eax, 0
	jmp	.L3
.L2:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 33
	je	.L4
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 94
	jne	.L5
.L4:
	add	QWORD PTR -8[rbp], 1
.L5:
	mov	BYTE PTR -9[rbp], 0
	jmp	.L6
.L11:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L7
	mov	eax, 0
	jmp	.L3
.L7:
	movzx	eax, BYTE PTR -9[rbp]
	xor	eax, 1
	test	al, al
	je	.L8
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 92
	jne	.L8
	mov	BYTE PTR -9[rbp], 1
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -28[rbp]
	and	eax, 1
	test	eax, eax
	je	.L10
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L10
	mov	eax, 0
	jmp	.L3
.L10:
	mov	BYTE PTR -9[rbp], 0
.L9:
	add	QWORD PTR -8[rbp], 1
.L6:
	cmp	BYTE PTR -9[rbp], 0
	jne	.L11
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 93
	jne	.L11
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 1
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	is_allowed_bracket_pattern, .-is_allowed_bracket_pattern
	.type	matches_bracket_pattern, @function
matches_bracket_pattern:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	mov	BYTE PTR -20[rbp], al
	mov	eax, DWORD PTR -24[rbp]
	and	eax, 1
	test	eax, eax
	je	.L13
	cmp	BYTE PTR -20[rbp], 47
	jne	.L13
	mov	eax, 0
	jmp	.L14
.L13:
	mov	QWORD PTR -8[rbp], 1
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 33
	jne	.L15
	add	QWORD PTR -8[rbp], 1
	jmp	.L16
.L15:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 94
	jne	.L17
	add	QWORD PTR -8[rbp], 1
.L16:
	mov	eax, 1
	jmp	.L18
.L17:
	mov	eax, 0
.L18:
	mov	BYTE PTR -9[rbp], al
	and	BYTE PTR -9[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	and	eax, 4
	test	eax, eax
	je	.L19
	cmp	BYTE PTR -20[rbp], 46
	jne	.L19
	cmp	BYTE PTR -9[rbp], 0
	je	.L19
	cmp	DWORD PTR -24[rbp], 0
	js	.L19
	mov	eax, 0
	jmp	.L14
.L19:
	mov	BYTE PTR -11[rbp], 0
	mov	BYTE PTR -10[rbp], 0
	jmp	.L20
.L25:
	movzx	eax, BYTE PTR -11[rbp]
	xor	eax, 1
	test	al, al
	je	.L21
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 92
	jne	.L21
	mov	BYTE PTR -11[rbp], 1
	jmp	.L22
.L21:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -20[rbp], al
	jne	.L23
	cmp	BYTE PTR -9[rbp], 0
	je	.L24
	mov	eax, 0
	jmp	.L14
.L24:
	mov	BYTE PTR -10[rbp], 1
	mov	BYTE PTR -11[rbp], 0
	jmp	.L22
.L23:
	mov	BYTE PTR -11[rbp], 0
.L22:
	add	QWORD PTR -8[rbp], 1
.L20:
	cmp	BYTE PTR -11[rbp], 0
	jne	.L25
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 93
	jne	.L25
	cmp	BYTE PTR -9[rbp], 0
	jne	.L26
	cmp	BYTE PTR -10[rbp], 0
	je	.L27
.L26:
	mov	eax, 1
	jmp	.L28
.L27:
	mov	eax, 0
.L28:
	and	eax, 1
.L14:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	matches_bracket_pattern, .-matches_bracket_pattern
	.globl	fnmatch
	.type	fnmatch, @function
fnmatch:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -52[rbp]
	or	eax, -2147483648
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L30
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L31
	mov	eax, 0
	jmp	.L49
.L30:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	jne	.L33
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, 1[rax]
	mov	edx, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	fnmatch
	test	eax, eax
	jne	.L34
	mov	eax, 0
	jmp	.L49
.L34:
	mov	eax, DWORD PTR -52[rbp]
	and	eax, 4
	test	eax, eax
	je	.L35
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	jne	.L35
	cmp	DWORD PTR -52[rbp], 0
	js	.L35
	mov	eax, 1
	jmp	.L49
.L35:
	mov	eax, DWORD PTR -52[rbp]
	and	eax, 1
	test	eax, eax
	je	.L36
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L36
	mov	eax, 1
	jmp	.L49
.L36:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L37
	mov	eax, 1
	jmp	.L49
.L37:
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, 1[rax]
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	fnmatch
	jmp	.L49
.L33:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L38
	mov	eax, 1
	jmp	.L49
.L38:
	lea	rdx, -16[rbp]
	mov	ecx, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	is_allowed_bracket_pattern
	test	al, al
	je	.L39
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edx, DWORD PTR -52[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	matches_bracket_pattern
	xor	eax, 1
	test	al, al
	je	.L40
	mov	eax, 1
	jmp	.L49
.L40:
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	fnmatch
	jmp	.L49
.L39:
	mov	eax, DWORD PTR -52[rbp]
	and	eax, 2
	test	eax, eax
	jne	.L41
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 92
	jne	.L41
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L42
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 22
	mov	eax, -1
	jmp	.L49
.L42:
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L31
	mov	eax, DWORD PTR -52[rbp]
	and	eax, 1
	test	eax, eax
	je	.L44
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L44
	and	DWORD PTR -20[rbp], 2147483647
.L44:
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, 2[rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	rdi, rcx
	call	fnmatch
	jmp	.L49
.L41:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	jne	.L45
	mov	eax, DWORD PTR -52[rbp]
	and	eax, 4
	test	eax, eax
	je	.L46
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	jne	.L46
	cmp	DWORD PTR -52[rbp], 0
	js	.L46
	mov	eax, 1
	jmp	.L49
.L46:
	mov	eax, DWORD PTR -52[rbp]
	and	eax, 1
	test	eax, eax
	je	.L47
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L47
	mov	eax, 1
	jmp	.L49
.L47:
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, 1[rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	rdi, rcx
	call	fnmatch
	jmp	.L49
.L45:
	mov	rax, QWORD PTR -40[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L31
	mov	eax, DWORD PTR -52[rbp]
	and	eax, 1
	test	eax, eax
	je	.L48
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L48
	and	DWORD PTR -20[rbp], 2147483647
.L48:
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, 1[rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	rdi, rcx
	call	fnmatch
	jmp	.L49
.L31:
	mov	eax, 1
.L49:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	fnmatch, .-fnmatch
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"522108.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_allowed_bracket_pattern, %function
is_allowed_bracket_pattern:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #91
	beq	.L2
	mov	r3, #0
	b	.L3
.L2:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #33
	beq	.L4
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #94
	bne	.L5
.L4:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	mov	r3, #0
	strb	r3, [fp, #-9]
	b	.L6
.L11:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L7
	mov	r3, #0
	b	.L3
.L7:
	ldrb	r3, [fp, #-9]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L8
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #92
	bne	.L8
	mov	r3, #1
	strb	r3, [fp, #-9]
	b	.L9
.L8:
	ldr	r3, [fp, #-20]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L10
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L10
	mov	r3, #0
	b	.L3
.L10:
	mov	r3, #0
	strb	r3, [fp, #-9]
.L9:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L6:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L11
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #93
	bne	.L11
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	mov	r3, #1
.L3:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	is_allowed_bracket_pattern, .-is_allowed_bracket_pattern
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	matches_bracket_pattern, %function
matches_bracket_pattern:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	mov	r3, r0
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	strb	r3, [fp, #-13]
	ldr	r3, [fp, #-24]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L13
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L13
	mov	r3, #0
	b	.L14
.L13:
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #33
	bne	.L15
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L16
.L15:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #94
	bne	.L17
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L16:
	mov	r3, #1
	b	.L18
.L17:
	mov	r3, #0
.L18:
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]
	and	r3, r3, #1
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-24]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L19
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L19
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	blt	.L19
	mov	r3, #0
	b	.L14
.L19:
	mov	r3, #0
	strb	r3, [fp, #-11]
	mov	r3, #0
	strb	r3, [fp, #-10]
	b	.L20
.L25:
	ldrb	r3, [fp, #-11]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L21
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #92
	bne	.L21
	mov	r3, #1
	strb	r3, [fp, #-11]
	b	.L22
.L21:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L23
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L24
	mov	r3, #0
	b	.L14
.L24:
	mov	r3, #1
	strb	r3, [fp, #-10]
	mov	r3, #0
	strb	r3, [fp, #-11]
	b	.L22
.L23:
	mov	r3, #0
	strb	r3, [fp, #-11]
.L22:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L20:
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L25
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #93
	bne	.L25
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L26
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L27
.L26:
	mov	r3, #1
	b	.L28
.L27:
	mov	r3, #0
.L28:
	and	r3, r3, #1
	and	r3, r3, #255
.L14:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	matches_bracket_pattern, .-matches_bracket_pattern
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fnmatch
	.syntax unified
	.arm
	.fpu softvfp
	.type	fnmatch, %function
fnmatch:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, .L51
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	orr	r3, r3, #-2147483648
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L31
	mov	r3, #0
	b	.L49
.L30:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L33
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	fnmatch
	mov	r3, r0
	cmp	r3, #0
	bne	.L34
	mov	r3, #0
	b	.L49
.L34:
	ldr	r3, [fp, #-32]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L35
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	blt	.L35
	mov	r3, #1
	b	.L49
.L35:
	ldr	r3, [fp, #-32]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L36
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L36
	mov	r3, #1
	b	.L49
.L36:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L37
	mov	r3, #1
	b	.L49
.L37:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r2, [fp, #-12]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	fnmatch
	mov	r3, r0
	b	.L49
.L33:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L38
	mov	r3, #1
	b	.L49
.L38:
	sub	r3, fp, #16
	mov	r2, r3
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-24]
	bl	is_allowed_bracket_pattern
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	matches_bracket_pattern
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L40
	mov	r3, #1
	b	.L49
.L40:
	ldr	r0, [fp, #-16]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r2, [fp, #-12]
	mov	r1, r3
	bl	fnmatch
	mov	r3, r0
	b	.L49
.L39:
	ldr	r3, [fp, #-32]
	and	r3, r3, #2
	cmp	r3, #0
	bne	.L41
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #92
	bne	.L41
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L42
	bl	__errno_location
	mov	r3, r0
	mov	r2, #22
	str	r2, [r3]
	mvn	r3, #0
	b	.L49
.L42:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L31
	ldr	r3, [fp, #-32]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L44
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L44
	ldr	r3, [fp, #-12]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-12]
.L44:
	ldr	r3, [fp, #-24]
	add	r0, r3, #2
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r2, [fp, #-12]
	mov	r1, r3
	bl	fnmatch
	mov	r3, r0
	b	.L49
.L41:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bne	.L45
	ldr	r3, [fp, #-32]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L46
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L46
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	blt	.L46
	mov	r3, #1
	b	.L49
.L46:
	ldr	r3, [fp, #-32]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L47
	mov	r3, #1
	b	.L49
.L47:
	ldr	r3, [fp, #-24]
	add	r0, r3, #1
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r2, [fp, #-12]
	mov	r1, r3
	bl	fnmatch
	mov	r3, r0
	b	.L49
.L45:
	ldr	r3, [fp, #-24]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L31
	ldr	r3, [fp, #-32]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L48
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L48
	ldr	r3, [fp, #-12]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-12]
.L48:
	ldr	r3, [fp, #-24]
	add	r0, r3, #1
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r2, [fp, #-12]
	mov	r1, r3
	bl	fnmatch
	mov	r3, r0
	b	.L49
.L31:
	mov	r3, #1
.L49:
	ldr	r2, .L51
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L50
	bl	__stack_chk_fail
.L50:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	.LC0
	.size	fnmatch, .-fnmatch
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
