	.file	"extr_sh.glob.c_globtilde.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	globtilde, @function
globtilde:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	add	rdi, 1
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	movzx	eax, BYTE PTR 1[r13]
	cmp	al, 58
	ja	.L12
	movabs	rdx, 288371113640067073
	mov	r14, rdi
	bt	rdx, rax
	jnc	.L2
	xor	esi, esi
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	mov	r14, rdi
.L2:
	movabs	rdx, 288371113640067073
.L4:
	movzx	eax, BYTE PTR 1[r14]
	add	r14, 1
	cmp	al, 58
	ja	.L4
	bt	rdx, rax
	jnc	.L4
	mov	esi, r14d
	sub	esi, edi
.L3:
	call	Strnsave@PLT
	mov	rsi, QWORD PTR xfree@GOTPCREL[rip]
	mov	r12, rax
	mov	rdi, rax
	call	cleanup_push@PLT
	mov	rdi, r12
	call	gethdir@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L16
.L6:
	mov	rdi, r12
	call	cleanup_until@PLT
	cmp	BYTE PTR 0[rbp], 47
	jne	.L10
	cmp	BYTE PTR 1[rbp], 0
	jne	.L10
	cmp	BYTE PTR [r14], 47
	je	.L17
.L10:
	mov	rsi, r14
	mov	rdi, rbp
	call	Strspl@PLT
	mov	r12, rax
.L11:
	mov	rdi, rbp
	call	xfree@PLT
	mov	rdi, r13
	call	xfree@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	edi, DWORD PTR STRnonomatch[rip]
	call	adrof@PLT
	test	rax, rax
	jne	.L18
	cmp	BYTE PTR [r12], 0
	je	.L9
	mov	rdi, r12
	call	short2str@PLT
	mov	edi, DWORD PTR ERR_UNKUSER[rip]
	mov	esi, eax
	xor	eax, eax
	call	stderror@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, DWORD PTR ERR_NOHOME[rip]
	xor	eax, eax
	call	stderror@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, r12
	mov	r12, r13
	call	cleanup_until@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, r14
	call	Strsave@PLT
	mov	r12, rax
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	globtilde, .-globtilde
	.comm	STRnonomatch,4,4
	.comm	ERR_UNKUSER,4,4
	.comm	ERR_NOHOME,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_globtilde.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	globtilde, %function
globtilde:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldrb	r3, [r0, #1]	@ zero_extendqisi2
	mov	r5, r0
	subs	r1, r3, #47
	movne	r1, #1
	cmp	r3, #0
	moveq	r1, #0
	cmp	r3, #58
	moveq	r1, #0
	andne	r1, r1, #1
	add	r0, r0, #1
	cmp	r1, #0
	mov	r7, r0
	bne	.L3
.L2:
	bl	Strnsave
	mov	r6, r0
	ldr	r1, .L17
	bl	cleanup_push
	mov	r0, r6
	bl	gethdir
	subs	r4, r0, #0
	beq	.L14
.L4:
	mov	r0, r6
	bl	cleanup_until
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L8
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L8
	ldrb	r3, [r7]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L15
.L8:
	mov	r1, r7
	mov	r0, r4
	bl	Strspl
	mov	r6, r0
.L9:
	mov	r0, r4
	bl	xfree
	mov	r0, r5
	bl	xfree
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	ldrb	r2, [r7, #1]!	@ zero_extendqisi2
	subs	r3, r2, #47
	movne	r3, #1
	cmp	r2, #0
	moveq	r3, #0
	cmp	r2, #58
	moveq	r3, #0
	andne	r3, r3, #1
	cmp	r3, #0
	bne	.L3
	sub	r1, r7, r0
	b	.L2
.L14:
	ldr	r3, .L17+4
	ldr	r0, [r3]
	bl	adrof
	cmp	r0, #0
	bne	.L16
	ldrb	r3, [r6]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L7
	ldr	r3, .L17+8
	mov	r0, r6
	ldr	r8, [r3]
	bl	short2str
	mov	r1, r0
	mov	r0, r8
	bl	stderror
	b	.L4
.L7:
	ldr	r3, .L17+12
	ldr	r0, [r3]
	bl	stderror
	b	.L4
.L16:
	mov	r0, r6
	bl	cleanup_until
	mov	r6, r5
	b	.L1
.L15:
	mov	r0, r7
	bl	Strsave
	mov	r6, r0
	b	.L9
.L18:
	.align	2
.L17:
	.word	xfree
	.word	STRnonomatch
	.word	ERR_UNKUSER
	.word	ERR_NOHOME
	.size	globtilde, .-globtilde
	.comm	STRnonomatch,4,4
	.comm	ERR_UNKUSER,4,4
	.comm	ERR_NOHOME,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
