	.file	"extr_glob.c_globexp2.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	globexp2, @function
globexp2:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	r9, rdx
	mov	rdx, rcx
	mov	rax, rdi
	mov	r8, rsi
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 56
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rcx, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rcx
	xor	ecx, ecx
	movsx	rcx, DWORD PTR MAXPATHLEN[rip]
	mov	rdi, rsp
	lea	rcx, 15[0+rcx*8]
	mov	rsi, rcx
	and	rcx, -4096
	sub	rdi, rcx
	and	rsi, -16
	mov	rcx, rdi
	cmp	rsp, rcx
	je	.L3
.L87:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rcx
	jne	.L87
.L3:
	and	esi, 4095
	sub	rsp, rsi
	test	rsi, rsi
	jne	.L88
.L4:
	mov	r10, rsp
	mov	QWORD PTR -72[rbp], r10
	cmp	r8, rax
	je	.L5
	mov	rsi, r8
	mov	rdi, r10
.L6:
	movsq
	cmp	rax, rsi
	jne	.L6
	mov	rcx, rax
	sub	rcx, r8
	add	rcx, r10
	mov	QWORD PTR -72[rbp], rcx
.L5:
	mov	r13, QWORD PTR EOS[rip]
	mov	rcx, QWORD PTR -72[rbp]
	lea	r12, 8[rax]
	mov	rsi, QWORD PTR 8[rax]
	mov	QWORD PTR [rcx], r13
	cmp	r13, rsi
	je	.L7
	mov	r15, QWORD PTR RBRACKET[rip]
	mov	rbx, r12
	mov	rax, rsi
	xor	r14d, r14d
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L14:
	cmp	rax, 128
	je	.L15
.L83:
	mov	rax, QWORD PTR 8[rbx]
	add	rbx, 8
.L13:
	cmp	r13, rax
	je	.L7
.L17:
	cmp	rax, 129
	je	.L89
	cmp	rax, 130
	jne	.L14
	mov	rax, QWORD PTR 8[rbx]
	add	r14d, 1
	add	rbx, 8
	cmp	r13, rax
	jne	.L17
	.p2align 4,,10
	.p2align 3
.L7:
	xor	ecx, ecx
	mov	rsi, r9
	mov	rdi, r8
	call	glob0@PLT
	mov	r14d, eax
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L90
	lea	rsp, -40[rbp]
	mov	eax, r14d
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	test	r14d, r14d
	je	.L16
	sub	r14d, 1
	jmp	.L83
	.p2align 4,,10
	.p2align 3
.L89:
	mov	rax, QWORD PTR 8[rbx]
	lea	rdi, 8[rbx]
	cmp	r13, rax
	je	.L7
	cmp	rax, r15
	je	.L9
	mov	rbx, rdi
	mov	r11, QWORD PTR 8[rbx]
	lea	rcx, 8[rbx]
	cmp	r13, r11
	je	.L45
.L92:
	cmp	r11, r15
	je	.L91
	mov	rbx, rcx
	mov	r11, QWORD PTR 8[rbx]
	lea	rcx, 8[rbx]
	cmp	r13, r11
	jne	.L92
.L45:
	mov	rbx, rdi
	jmp	.L17
.L16:
	cmp	r13, 128
	je	.L7
	mov	r8, r12
	xor	eax, eax
	cmp	r12, rbx
	ja	.L1
	cmp	rsi, 130
	je	.L19
	.p2align 4,,10
	.p2align 3
.L93:
	jg	.L20
	cmp	rsi, 128
	je	.L21
	cmp	rsi, 129
	jne	.L85
	mov	rdi, QWORD PTR 8[r12]
	lea	r11, 8[r12]
	mov	rsi, r11
	cmp	r13, rdi
	je	.L26
	cmp	r15, rdi
	je	.L26
.L27:
	mov	rdi, QWORD PTR 8[rsi]
	add	rsi, 8
	cmp	r13, rdi
	je	.L41
	cmp	rdi, r15
	jne	.L27
.L26:
	cmp	r13, rdi
	je	.L41
	lea	r12, 8[rsi]
	.p2align 4,,10
	.p2align 3
.L25:
	cmp	rbx, r12
	jb	.L1
	mov	rsi, QWORD PTR 8[rsi]
	cmp	rsi, 130
	jne	.L93
.L19:
	mov	rsi, r12
	add	eax, 1
	add	r12, 8
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L20:
	cmp	rsi, 131
	jne	.L85
	test	eax, eax
	je	.L29
.L85:
	mov	rsi, r12
	add	r12, 8
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L21:
	test	eax, eax
	je	.L29
	sub	eax, 1
	jmp	.L85
	.p2align 4,,10
	.p2align 3
.L29:
	mov	rdi, QWORD PTR -72[rbp]
	cmp	r12, r8
	ja	.L94
.L30:
	xor	eax, eax
.L32:
	mov	rsi, QWORD PTR 8[rbx+rax]
	mov	QWORD PTR [rdi+rax], rsi
	add	rax, 8
	cmp	r13, rsi
	jne	.L32
	mov	rsi, r9
	mov	rdi, r10
	mov	QWORD PTR -96[rbp], rdx
	mov	QWORD PTR -88[rbp], r9
	mov	QWORD PTR -80[rbp], r10
	call	globexp1@PLT
	test	eax, eax
	jne	.L43
	lea	r8, 8[r12]
	mov	rsi, r12
	mov	r10, QWORD PTR -80[rbp]
	mov	r9, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -96[rbp]
	mov	r12, r8
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L94:
	mov	rsi, r8
.L31:
	movsq
	cmp	rsi, r12
	jb	.L31
	lea	rax, -1[r12]
	mov	rcx, QWORD PTR -72[rbp]
	sub	rax, r8
	shr	rax, 3
	lea	rdi, 8[rcx+rax*8]
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L41:
	mov	rsi, r12
	mov	r12, r11
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L9:
	cmp	r13, rax
	je	.L7
.L84:
	mov	rax, QWORD PTR 16[rbx]
	add	rbx, 16
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L91:
	cmp	r13, r11
	jne	.L84
	jmp	.L45
.L88:
	or	QWORD PTR -8[rsp+rsi], 0
	jmp	.L4
.L43:
	mov	r14d, eax
	jmp	.L1
.L90:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	globexp2, .-globexp2
	.comm	RBRACKET,8,8
	.comm	MAXPATHLEN,4,4
	.comm	EOS,8,8
	.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_glob.c_globexp2.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	globexp2, %function
globexp2:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #28
	mov	lr, r1
	ldr	r1, .L66
	str	r3, [fp, #-52]
	ldr	ip, [r1]
	ldr	r3, .L66+4
	lsl	ip, ip, #2
	add	ip, ip, #7
	bic	ip, ip, #7
	sub	sp, sp, ip
	mov	r10, sp
	cmp	lr, r0
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r9, r2
	streq	r10, [fp, #-48]
	beq	.L2
	mov	r3, lr
	sub	r1, r10, #4
.L3:
	ldr	r2, [r3], #4
	cmp	r0, r3
	str	r2, [r1, #4]!
	bne	.L3
	sub	r3, r0, lr
	add	r3, r10, r3
	str	r3, [fp, #-48]
.L2:
	ldr	r1, .L66+8
	ldr	r3, [r0, #4]
	ldr	r6, [r1]
	ldr	r2, [fp, #-48]
	cmp	r6, r3
	add	r5, r0, #4
	str	r6, [r2]
	beq	.L4
	ldr	r1, .L66+12
	mov	r4, r5
	mov	ip, r3
	mov	r7, #0
	ldr	r8, [r1]
	b	.L13
.L10:
	cmp	ip, #128
	beq	.L11
	ldr	ip, [r4, #4]!
.L9:
	cmp	r6, ip
	beq	.L4
.L13:
	cmp	ip, #129
	beq	.L61
	cmp	ip, #130
	bne	.L10
	ldr	ip, [r4, #4]!
	add	r7, r7, #1
	cmp	r6, ip
	bne	.L13
.L4:
	mov	r1, r9
	mov	r0, lr
	mov	r3, #0
	ldr	r2, [fp, #-52]
	bl	glob0
	mov	r7, r0
.L1:
	ldr	r3, .L66+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L62
	mov	r0, r7
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	cmp	r7, #0
	beq	.L12
	ldr	ip, [r4, #4]!
	sub	r7, r7, #1
	b	.L9
.L61:
	ldr	ip, [r4, #4]
	add	r1, r4, #4
	cmp	r6, ip
	cmpne	ip, r8
	movne	r4, r1
	bne	.L7
	cmp	r6, ip
	beq	.L4
.L58:
	ldr	ip, [r4, #8]!
	b	.L9
.L63:
	mov	r4, r0
.L7:
	ldr	r2, [r4, #4]
	add	r0, r4, #4
	cmp	r6, r2
	cmpne	r2, r8
	bne	.L63
	cmp	r6, r2
	bne	.L58
	mov	r4, r1
	b	.L13
.L12:
	cmp	r6, #128
	beq	.L4
	cmp	r5, r4
	bhi	.L1
	mov	ip, r5
	mov	r0, r7
	str	r7, [fp, #-56]
	mov	r7, r9
	ldr	r9, [fp, #-52]
.L29:
	sub	r3, r3, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L59
.L17:
	.word	.L20
	.word	.L19
	.word	.L18
	.word	.L16
.L16:
	cmp	r0, #0
	beq	.L24
.L59:
	mov	r3, r5
	add	r5, r5, #4
.L21:
	cmp	r4, r5
	bcc	.L56
.L64:
	ldr	r3, [r3, #4]
	b	.L29
.L19:
	ldr	r2, [r5, #4]
	add	lr, r5, #4
	cmp	r6, r2
	cmpne	r8, r2
	mov	r3, lr
	bne	.L23
.L22:
	cmp	r6, r2
	addne	r5, r3, #4
	bne	.L21
	mov	r3, r5
	mov	r5, lr
	cmp	r4, r5
	bcs	.L64
.L56:
	ldr	r7, [fp, #-56]
	b	.L1
.L18:
	mov	r3, r5
	add	r0, r0, #1
	add	r5, r5, #4
	b	.L21
.L20:
	cmp	r0, #0
	beq	.L24
	sub	r0, r0, #1
	b	.L59
.L23:
	ldr	r2, [r3, #4]!
	cmp	r6, r2
	cmpne	r2, r8
	beq	.L22
	ldr	r2, [r3, #4]!
	cmp	r6, r2
	cmpne	r2, r8
	beq	.L22
	b	.L23
.L24:
	cmp	r5, ip
	ldrls	r3, [fp, #-48]
	bhi	.L65
.L25:
	sub	r3, r3, #4
	add	r0, r4, #4
.L27:
	ldr	r2, [r0], #4
	cmp	r6, r2
	str	r2, [r3, #4]!
	bne	.L27
	mov	r2, r9
	mov	r1, r7
	mov	r0, r10
	bl	globexp1
	cmp	r0, #0
	bne	.L38
	add	ip, r5, #4
	mov	r3, r5
	mov	r5, ip
	b	.L21
.L65:
	mov	r3, ip
	ldr	r2, [fp, #-48]
	sub	r2, r2, #4
.L26:
	ldr	r0, [r3], #4
	cmp	r3, r5
	str	r0, [r2, #4]!
	bcc	.L26
	sub	r3, r5, #1
	sub	r3, r3, ip
	ldr	r2, [fp, #-48]
	bic	r3, r3, #3
	add	r3, r3, #4
	add	r3, r2, r3
	b	.L25
.L38:
	mov	r7, r0
	b	.L1
.L62:
	bl	__stack_chk_fail
.L67:
	.align	2
.L66:
	.word	MAXPATHLEN
	.word	.LC0
	.word	EOS
	.word	RBRACKET
	.size	globexp2, .-globexp2
	.comm	RBRACKET,4,4
	.comm	MAXPATHLEN,4,4
	.comm	EOS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
