	.file	"extr_cd9660read.c_dirmatch.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dirmatch, @function
dirmatch:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	edx, edx
	je	.L2
	mov	esi, ecx
	mov	rdx, rsp
	mov	rdi, r12
	call	rrip_lookup_name@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR [rsp]
	xor	r12d, r12d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edi, DWORD PTR 8[r12]
	call	isonum_711@PLT
	mov	rbx, QWORD PTR [r12]
	mov	r12d, 1
	mov	QWORD PTR [rsp], rax
.L3:
	mov	r13d, eax
	sub	r13d, 1
	js	.L4
.L7:
	movsx	edi, BYTE PTR 0[rbp]
	test	dil, dil
	je	.L18
	cmp	dil, 47
	je	.L5
	cmp	dil, BYTE PTR [rbx]
	je	.L10
	test	r12d, r12d
	jne	.L11
	call	toupper@PLT
	cmp	al, BYTE PTR [rbx]
	je	.L10
.L11:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L48
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	sub	r13d, 1
	add	rbp, 1
	add	rbx, 1
	cmp	r13d, -1
	jne	.L7
.L4:
	movzx	eax, BYTE PTR 0[rbp]
	cmp	al, 47
	je	.L12
	test	al, al
	jne	.L11
.L12:
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	test	dil, dil
	je	.L18
	cmp	dil, 47
	jne	.L11
.L18:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 59
	je	.L21
	cmp	al, 46
	jne	.L12
.L45:
	cmp	BYTE PTR 1[rbx], 59
	jne	.L11
.L14:
	test	r13d, r13d
	je	.L12
	lea	eax, -1[r13]
	lea	rdx, 1[rbx+rax]
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L15:
	cmp	rbx, rdx
	je	.L12
.L16:
	movzx	eax, BYTE PTR 1[rbx]
	add	rbx, 1
	cmp	al, 59
	je	.L15
	sub	eax, 48
	cmp	al, 9
	jbe	.L15
	jmp	.L11
.L21:
	cmp	al, 46
	jne	.L14
	jmp	.L45
.L48:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dirmatch, .-dirmatch
	.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_cd9660read.c_dirmatch.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dirmatch, %function
dirmatch:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r2, #0
	ldr	r2, .L40
	sub	sp, sp, #8
	mov	r6, r0
	mov	r4, r1
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	beq	.L2
	mov	r1, r3
	mov	r2, sp
	mov	r0, r4
	bl	rrip_lookup_name
	subs	r5, r0, #0
	movne	r8, #0
	ldrne	r0, [sp]
	bne	.L3
.L2:
	ldr	r0, [r4, #4]
	bl	isonum_711
	mov	r8, #1
	ldr	r5, [r4]
	str	r0, [sp]
.L3:
	subs	r4, r0, #1
	bmi	.L4
	mov	r7, r6
.L7:
	ldrb	r0, [r7], #1	@ zero_extendqisi2
	cmp	r0, #47
	cmpne	r0, #0
	beq	.L5
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, r0
	beq	.L10
	cmp	r8, #0
	bne	.L11
	bl	toupper
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, r0
	beq	.L10
.L11:
	mov	r0, #0
.L1:
	ldr	r3, .L40
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L38
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	sub	r4, r4, #1
	cmn	r4, #1
	mov	r6, r7
	add	r5, r5, #1
	bne	.L7
.L4:
	ldrb	r3, [r6]	@ zero_extendqisi2
	cmp	r3, #47
	cmpne	r3, #0
	bne	.L11
.L12:
	mov	r0, #1
	b	.L1
.L5:
	cmp	r0, #0
	cmpne	r0, #47
	bne	.L11
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, #46
	cmpne	r3, #59
	bne	.L12
	cmp	r3, #46
	beq	.L39
.L13:
	cmp	r4, #0
	beq	.L12
	mov	r2, r5
.L15:
	ldrb	r3, [r2, #1]!	@ zero_extendqisi2
	cmp	r3, #59
	beq	.L14
	sub	r3, r3, #48
	cmp	r3, #9
	bhi	.L11
.L14:
	mvn	r3, r2
	add	r3, r3, r4
	add	r3, r5, r3
	cmn	r3, #1
	bne	.L15
	b	.L12
.L39:
	ldrb	r3, [r5, #1]	@ zero_extendqisi2
	cmp	r3, #59
	bne	.L11
	b	.L13
.L38:
	bl	__stack_chk_fail
.L41:
	.align	2
.L40:
	.word	.LC0
	.size	dirmatch, .-dirmatch
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
